fix(create-medusa-app): --db-url keep asking db credentials (#11037)
* fix create-medusa-app db-url error * removed empty lines * changeset
This commit is contained in:
1 parent
2bd51ddc04
commit
a16eaad6c9
2 files changed
+12
-6
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-medusa-app": patch
|
||||
---
|
||||
|
||||
Fix issue where create-medusa-app repeatedly asked for database credentials even when --db-url was specified. The logic in MedusaProjectCreator->create()->initializeProject()->setupDatabase() always defines a dbName. Updated the getDbClientAndCredentials() method to check db-url first
|
||||
Reference in new issue
Block a user