Skip to content

Commit c6aeb60

Browse files
committed
fix(@angular-devkit/architect-cli): remove minimist _ from options
Closes #18889
1 parent 64f340d commit c6aeb60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/angular_devkit/architect_cli/bin/architect.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,12 @@ async function _executeTarget(
8989
const targetSpec = { project, target, configuration };
9090
9191
delete argv['help'];
92-
argv['_'] = [];
93-
9492
const logger = new logging.Logger('jobs');
9593
const logs: logging.LogEntry[] = [];
9694
logger.subscribe(entry => logs.push({ ...entry, message: `${entry.name}: ` + entry.message }));
9795
98-
const run = await architect.scheduleTarget(targetSpec, argv, { logger });
96+
const { _, ...options } = argv;
97+
const run = await architect.scheduleTarget(targetSpec, options, { logger });
9998
const bars = new MultiProgressBar<number, BarInfo>(':name :bar (:current/:total) :status');
10099
101100
run.progress.subscribe(update => {

0 commit comments

Comments
 (0)