File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/angular/cli/commands Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
425425 packageName ,
426426 migrations ,
427427 migrationRange ,
428- ! options . skipCommits ,
428+ options . createCommits ,
429429 ) ;
430430
431431 return success ? 0 : 1 ;
@@ -539,7 +539,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
539539 migrateExternal : true ,
540540 } ) ;
541541
542- if ( success && ! options . skipCommits ) {
542+ if ( success && options . createCommits ) {
543543 this . createCommit ( 'Angular CLI update\n' + packagesToUpdate . join ( '\n' ) , [ ] ) ;
544544 }
545545
@@ -558,7 +558,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
558558 migration . package ,
559559 migration . collection ,
560560 new semver . Range ( '>' + migration . from + ' <=' + migration . to ) ,
561- ! options . skipCommits ,
561+ options . createCommits ,
562562 ) ;
563563
564564 if ( ! result ) {
Original file line number Diff line number Diff line change 6363 "type" : " boolean" ,
6464 "default" : false
6565 },
66- "skipCommits " : {
67- "description" : " Do not create source control commits for updates and migrations." ,
66+ "createCommits " : {
67+ "description" : " Create source control commits for updates and migrations." ,
6868 "type" : " boolean" ,
6969 "default" : false ,
7070 "aliases" : [" C" ]
You can’t perform that action at this time.
0 commit comments