From 03110962d6bccfaba689d262c8968f94d5aa011b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20No=C3=ABl?= Date: Thu, 23 Sep 2021 16:53:32 +0200 Subject: [PATCH] disable template question --- .../cli/create-strapi-app/utils/prompt-user.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/cli/create-strapi-app/utils/prompt-user.js b/packages/cli/create-strapi-app/utils/prompt-user.js index aed88ce252..60014e819a 100644 --- a/packages/cli/create-strapi-app/utils/prompt-user.js +++ b/packages/cli/create-strapi-app/utils/prompt-user.js @@ -60,7 +60,8 @@ async function getTemplateQuestion() { * * @returns Array of prompt question objects */ -async function getPromptQuestions(projectName, template) { +// TODO: re-enabled once the template have been migrated to V4 +async function getPromptQuestions(projectName /*, template */) { return [ { type: 'input', @@ -84,13 +85,14 @@ async function getPromptQuestions(projectName, template) { }, ], }, - { - type: 'confirm', - name: 'useTemplate', - when: !template, - message: - 'Would you like to use a template? (Templates are Strapi configurations designed for a specific use case)', - }, + // TODO: re-enabled once the template have been migrated to V4 + // { + // type: 'confirm', + // name: 'useTemplate', + // when: !template, + // message: + // 'Would you like to use a template? (Templates are Strapi configurations designed for a specific use case)', + // }, ]; }