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.
ng update
dryRun
1 parent ab1dfd0 commit bd1f587Copy full SHA for bd1f587
packages/angular/cli/commands/update-impl.ts
@@ -54,7 +54,7 @@ export class UpdateCommand extends SchematicCommand<UpdateCommandSchema> {
54
collectionName: this.collectionName,
55
schematicName: this.schematicName,
56
schematicOptions: options['--'],
57
- dryRun: options.dryRun,
+ dryRun: !!options.dryRun,
58
force: false,
59
showNothingDone: false,
60
});
packages/angular/cli/commands/update.json
@@ -22,14 +22,6 @@
22
"$default": {
23
"$source": "argv"
24
}
25
- },
26
- "dryRun": {
27
- "type": "boolean",
28
- "default": false,
29
- "aliases": [
30
- "d"
31
- ],
32
- "description": "Run through without making any changes."
33
34
},
35
"required": [
0 commit comments