create-prisma-php-app 1.6.50 → 1.6.51
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 +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -350,7 +350,8 @@ async function getAnswer(predefinedAnswers = {}) {
|
|
|
350
350
|
const questions = questionsArray;
|
|
351
351
|
console.log("🚀 ~ questions:", questions);
|
|
352
352
|
const onCancel = () => {
|
|
353
|
-
|
|
353
|
+
console.log(chalk.red("Operation cancelled by the user."));
|
|
354
|
+
process.exit(1);
|
|
354
355
|
};
|
|
355
356
|
try {
|
|
356
357
|
const response = await prompts(questions, { onCancel });
|