create-prisma-php-app 1.18.509 → 1.18.510
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -514,7 +514,12 @@ async function getAnswer(predefinedAnswers = {}) {
|
|
|
514
514
|
inactive: "No",
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
// Execute the questionsArray first to determine the backendOnly option
|
|
517
|
+
// Execute the questionsArray first to determine the backendOnly option const questions: PromptObject<string>[] =
|
|
518
|
+
questionsArray;
|
|
519
|
+
console.log("🚀 ~ questions:", questionsArray);
|
|
520
|
+
if (questionsArray.length === 0 && predefinedAnswers.projectName) {
|
|
521
|
+
return predefinedAnswers;
|
|
522
|
+
}
|
|
518
523
|
const onCancel = () => {
|
|
519
524
|
console.log(chalk.red("Operation cancelled by the user."));
|
|
520
525
|
process.exit(0);
|