Skip to content

Commit

Permalink
fix(@angular/cli): remove unsupported dryRun and force from ng add
Browse files Browse the repository at this point in the history
Fixes #13479
  • Loading branch information
Alan authored and Angular Builds committed Jan 30, 2019
1 parent a88909b commit 000a565
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/angular/cli/commands/add.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
]
},
{
"$ref": "./definitions.json#/definitions/schematic"
"$ref": "./definitions.json#/definitions/interactive"
},
{
"$ref": "./definitions.json#/definitions/base"
Expand Down
6 changes: 5 additions & 1 deletion packages/angular/cli/commands/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@
"default": false,
"aliases": [ "f" ],
"description": "When true, forces overwriting of existing files."
},
}
}
},
"interactive": {
"properties": {
"interactive": {
"type": "boolean",
"default": "true",
Expand Down
3 changes: 2 additions & 1 deletion packages/angular/cli/commands/generate.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
]
},
{ "$ref": "./definitions.json#/definitions/base" },
{ "$ref": "./definitions.json#/definitions/schematic" }
{ "$ref": "./definitions.json#/definitions/schematic" },
{ "$ref": "./definitions.json#/definitions/interactive" }
]
}
3 changes: 2 additions & 1 deletion packages/angular/cli/commands/new.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"required": []
},
{ "$ref": "./definitions.json#/definitions/base" },
{ "$ref": "./definitions.json#/definitions/schematic" }
{ "$ref": "./definitions.json#/definitions/schematic" },
{ "$ref": "./definitions.json#/definitions/interactive" }
]
}

0 comments on commit 000a565

Please sign in to comment.