mirror of
https://github.com/apache/superset.git
synced 2026-05-07 17:04:58 +00:00
fix: Simplify extension folder name (#38690)
This commit is contained in:
committed by
Michael S. Molina
parent
54b313c659
commit
435e405263
@@ -663,7 +663,7 @@ def init(
|
||||
else click.confirm("Include backend?", default=True)
|
||||
)
|
||||
|
||||
target_dir = Path.cwd() / names["id"]
|
||||
target_dir = Path.cwd() / names["name"]
|
||||
if target_dir.exists():
|
||||
click.secho(f"❌ Directory {target_dir} already exists.", fg="red")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user