Skip to content

Commit b62b419

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/angular_devkit/architect/bin/architect.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ function parseOptions(args: string[]): Options {
205205
}
206206
}
207207

208-
for (const [key, value] of Object.entries(values)) {
208+
for (const key of Object.keys(CLI_OPTION_DEFINITIONS)) {
209+
const value = values[key];
209210
if (value === 'true') {
210211
values[key] = true;
211212
} else if (value === 'false') {

0 commit comments

Comments
 (0)