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.
1 parent 346a064 commit 359ccbeCopy full SHA for 359ccbe
packages/@angular/cli/commands/update.ts
@@ -14,7 +14,8 @@ export default class UpdateCommand extends SchematicCommand {
14
public readonly scope = CommandScope.inProject;
15
public arguments: string[] = [ 'packages' ];
16
public options: Option[] = [
17
- ...this.coreOptions,
+ // Remove the --force flag.
18
+ ...this.coreOptions.filter(option => option.name !== 'force'),
19
];
20
public readonly allowMissingWorkspace = true;
21
@@ -44,7 +45,7 @@ export default class UpdateCommand extends SchematicCommand {
44
45
schematicName: this.schematicName,
46
schematicOptions: options,
47
dryRun: options.dryRun,
- force: options.force,
48
+ force: false,
49
workingDir: this.project.root,
50
};
51
0 commit comments