From c660bfc4af44dea4f82dfdb7ba272c07cb6f3b4b Mon Sep 17 00:00:00 2001 From: m1ga Date: Mon, 30 Oct 2023 11:38:48 +0100 Subject: [PATCH] fix yesNoQuestion --- src/commands/createApp.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/createApp.ts b/src/commands/createApp.ts index de57ad66c..7078876ae 100644 --- a/src/commands/createApp.ts +++ b/src/commands/createApp.ts @@ -49,7 +49,7 @@ export async function createApplication (): Promise { progress.report({ message: l10n.t('Creating application') }); await ExtensionContainer.terminal.runInBackground('ti', args); - alloy = await yesNoQuestion({ placeHolder: l10n.t('Create an Alloy project?') }, true); + alloy = await yesNoQuestion({ placeHolder: l10n.t('Create an Alloy project?') }, false); if (alloy) { progress.report({ message: l10n.t('Creating Alloy project') }); const alloyArgs = [ 'new' ]; @@ -57,6 +57,8 @@ export async function createApplication (): Promise { alloyArgs.push('--force'); } await ExtensionContainer.terminal.runInBackground('alloy', [ 'new' ], { cwd: path.join(workspaceDir.fsPath, name) }); + } else { + progress.report({ message: l10n.t('Creating Classic project') }); } return; });