Skip to content

Commit 60654a0

Browse files
committed
fixup! fix(@angular-devkit/schematics-cli): correctly parse inline boolean values in CLI options
1 parent df69c8e commit 60654a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/angular_devkit/schematics_cli/bin/schematics.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,8 @@ function parseOptions(args: string[]): Options {
568568
}
569569
}
570570

571-
for (const [key, value] of Object.entries(values)) {
571+
for (const key of Object.keys(CLI_OPTION_DEFINITIONS)) {
572+
const value = values[key];
572573
if (value === 'true') {
573574
values[key] = true;
574575
} else if (value === 'false') {

0 commit comments

Comments
 (0)