Skip to content

Commit eab4c2e

Browse files
alan-agius4hansl
authored andcommitted
fix(@angular/cli): ng update remove duplicate dryRun in help
Closes #12423
1 parent 3d9f858 commit eab4c2e

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/angular/cli/commands/update-impl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class UpdateCommand extends SchematicCommand<UpdateCommandSchema> {
5454
collectionName: this.collectionName,
5555
schematicName: this.schematicName,
5656
schematicOptions: options['--'],
57-
dryRun: options.dryRun,
57+
dryRun: !!options.dryRun,
5858
force: false,
5959
showNothingDone: false,
6060
});

packages/angular/cli/commands/update.json

-8
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@
2222
"$default": {
2323
"$source": "argv"
2424
}
25-
},
26-
"dryRun": {
27-
"type": "boolean",
28-
"default": false,
29-
"aliases": [
30-
"d"
31-
],
32-
"description": "Run through without making any changes."
3325
}
3426
},
3527
"required": [

0 commit comments

Comments
 (0)