Skip to content

Commit

Permalink
fix(@angular/cli): ng update remove duplicate dryRun in help
Browse files Browse the repository at this point in the history
Closes #12423
  • Loading branch information
alan-agius4 authored and hansl committed Oct 3, 2018
1 parent 3d9f858 commit eab4c2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion packages/angular/cli/commands/update-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class UpdateCommand extends SchematicCommand<UpdateCommandSchema> {
collectionName: this.collectionName,
schematicName: this.schematicName,
schematicOptions: options['--'],
dryRun: options.dryRun,
dryRun: !!options.dryRun,
force: false,
showNothingDone: false,
});
Expand Down
8 changes: 0 additions & 8 deletions packages/angular/cli/commands/update.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@
"$default": {
"$source": "argv"
}
},
"dryRun": {
"type": "boolean",
"default": false,
"aliases": [
"d"
],
"description": "Run through without making any changes."
}
},
"required": [
Expand Down

0 comments on commit eab4c2e

Please sign in to comment.