Skip to content

Commit

Permalink
fix: Pass command options also in interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dlhck committed May 8, 2024
1 parent 7dab576 commit 4b9864c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/add/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4b9864c

Please sign in to comment.