From 4b9864c0539b0b872ee3fcecb817e7c813dc64b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=B6ck?= Date: Wed, 8 May 2024 10:48:41 +0200 Subject: [PATCH] fix: Pass command options also in interactive mode --- packages/cli/src/commands/add/add.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/add/add.ts b/packages/cli/src/commands/add/add.ts index 59da5b50cb..292666a3ea 100644 --- a/packages/cli/src/commands/add/add.ts +++ b/packages/cli/src/commands/add/add.ts @@ -52,7 +52,7 @@ export async function addCommand(nonInteractiveMode: boolean = false, options: N if (!command) { throw new Error(`Could not find command with id "${featureType as string}"`); } - const { modifiedSourceFiles, project } = await command.run(nonInteractiveMode ? options : undefined); + const { modifiedSourceFiles, project } = await command.run(options); if (modifiedSourceFiles.length) { const importsSpinner = spinner();