File tree 2 files changed +5
-5
lines changed
packages/angular/cli/commands
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> {
425
425
packageName ,
426
426
migrations ,
427
427
migrationRange ,
428
- ! options . skipCommits ,
428
+ options . createCommits ,
429
429
) ;
430
430
431
431
return success ? 0 : 1 ;
@@ -539,7 +539,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
539
539
migrateExternal : true ,
540
540
} ) ;
541
541
542
- if ( success && ! options . skipCommits ) {
542
+ if ( success && options . createCommits ) {
543
543
this . createCommit ( 'Angular CLI update\n' + packagesToUpdate . join ( '\n' ) , [ ] ) ;
544
544
}
545
545
@@ -558,7 +558,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
558
558
migration . package ,
559
559
migration . collection ,
560
560
new semver . Range ( '>' + migration . from + ' <=' + migration . to ) ,
561
- ! options . skipCommits ,
561
+ options . createCommits ,
562
562
) ;
563
563
564
564
if ( ! result ) {
Original file line number Diff line number Diff line change 63
63
"type" : " boolean" ,
64
64
"default" : false
65
65
},
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." ,
68
68
"type" : " boolean" ,
69
69
"default" : false ,
70
70
"aliases" : [" C" ]
You can’t perform that action at this time.
0 commit comments