We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3544325 commit 5c99662Copy full SHA for 5c99662
packages/angular/cli/models/architect-command.ts
@@ -296,6 +296,12 @@ export abstract class ArchitectCommand extends Command<ArchitectCommandOptions>
296
delete overrides.project;
297
}
298
299
+ // For some reason, latest of yargs-parser with our configuration returns `{ _: [] }` if
300
+ // there's nothing to parse.
301
+ if (overrides._ && Array.isArray(overrides._) && overrides._.length == 0) {
302
+ delete overrides._;
303
+ }
304
+
305
if (!project) {
306
project = '';
307
0 commit comments