Skip to content

Commit

Permalink
move to argv
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Dec 19, 2024
1 parent 7bbd9a5 commit 0f10e81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/aws-cdk/lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ export async function exec(args: string[], synthesizer?: Synthesizer): Promise<n
case 'context':
return context({

Check warning on line 201 in packages/aws-cdk/lib/cli.ts

View check run for this annotation

Codecov / codecov/patch

packages/aws-cdk/lib/cli.ts#L201

Added line #L201 was not covered by tests
context: configuration.context,
clear: configuration.settings.get(['clear']),
json: configuration.settings.get(['json']),
force: configuration.settings.get(['force']),
reset: configuration.settings.get(['reset']),
clear: argv.clear,
json: argv.json,
force: argv.force,
reset: argv.reset,
});

case 'docs':
Expand Down

0 comments on commit 0f10e81

Please sign in to comment.