chore: update output to let the user know they can pass --force

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2024-03-27 17:37:42 +05:30
parent 8cd23ecef5
commit 1ffc4c7834
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -59,7 +59,7 @@ def _new_site(
from frappe.utils import scheduler from frappe.utils import scheduler
if not force and os.path.exists(site): if not force and os.path.exists(site):
print(f"Site {site} already exists") print(f"Site {site} already exists, use `--force` to proceed anyway")
sys.exit(1) sys.exit(1)
if no_mariadb_socket and db_type != "mariadb": if no_mariadb_socket and db_type != "mariadb":