File tree 1 file changed +0
-9
lines changed
packages/angular/cli/commands
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,6 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
162
162
return true ;
163
163
}
164
164
165
- const startingGitSha = this . findCurrentGitSha ( ) ;
166
-
167
165
migrations . sort ( ( a , b ) => semver . compare ( a . version , b . version ) || a . name . localeCompare ( b . name ) ) ;
168
166
169
167
this . logger . info (
@@ -175,13 +173,6 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
175
173
176
174
const result = await this . executeSchematic ( migration . collection . name , migration . name ) ;
177
175
if ( ! result . success ) {
178
- if ( startingGitSha !== null ) {
179
- const currentGitSha = this . findCurrentGitSha ( ) ;
180
- if ( currentGitSha !== startingGitSha ) {
181
- this . logger . warn ( `git HEAD was at ${ startingGitSha } before migrations.` ) ;
182
- }
183
- }
184
-
185
176
this . logger . error ( `${ colors . symbols . cross } Migration failed. See above for further details.\n` ) ;
186
177
187
178
return false ;
You can’t perform that action at this time.
0 commit comments