Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions packages/angular/cli/src/commands/update/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class UpdateCommandModule extends CommandModule<UpdateCommandArgs> {
alias: ['C'],
default: false,
})
.check(({ packages, next, 'allow-dirty': allowDirty, 'migrate-only': migrateOnly }) => {
.check(({ packages, 'allow-dirty': allowDirty, 'migrate-only': migrateOnly }) => {
const { logger } = this.context;

// This allows the user to easily reset any changes from the update.
Expand All @@ -152,10 +152,6 @@ export class UpdateCommandModule extends CommandModule<UpdateCommandArgs> {
`A single package must be specified when using the 'migrate-only' option.`,
);
}

if (next) {
logger.warn(`'next' option has no effect when using 'migrate-only' option.`);
}
}

return true;
Expand Down