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:
@@ -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