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 4f61cc9 commit b310794
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
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
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
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
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 b310794

Please sign in to comment.