Skip to content

Commit 1c855b2

Browse files
alan-agius4vikerman
authored andcommitted
style(@angular/cli): fix alignment of messages
Before ``` > NGCC postinstall migration. Adds an ngcc invocation to npm/yarn's postinstall script. Read more about this here: https://v9.angular.io/guide/migration-ngcc UPDATE package.json (1490 bytes) √ Packages installed successfully. √ Migration succeeded. ``` After ``` > NGCC postinstall migration. Adds an ngcc invocation to npm/yarn's postinstall script. Read more about this here: https://v9.angular.io/guide/migration-ngcc UPDATE package.json (1490 bytes) √ Packages installed successfully. √ Migration succeeded. ```
1 parent c188a30 commit 1c855b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/angular/cli/commands/update-impl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
171171
);
172172

173173
for (const migration of migrations) {
174-
this.logger.info(`${colors.symbols.pointer} ${migration.description.replace(/\. /g, '.\n ')}`);
174+
this.logger.info(`${colors.symbols.pointer} ${migration.description.replace(/\. /g, '.\n ')}`);
175175

176176
const result = await this.executeSchematic(migration.collection.name, migration.name);
177177
if (!result.success) {
@@ -182,7 +182,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
182182
}
183183
}
184184

185-
this.logger.error(`${colors.symbols.cross} Migration failed. See above for further details.\n`);
185+
this.logger.error(`${colors.symbols.cross} Migration failed. See above for further details.\n`);
186186

187187
return false;
188188
}
@@ -197,7 +197,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
197197
this.createCommit(message, []);
198198
}
199199

200-
this.logger.info(colors.green(`${colors.symbols.check} Migration succeeded.\n`));
200+
this.logger.info(colors.green(`${colors.symbols.check} Migration succeeded.\n`));
201201
}
202202

203203
return true;

0 commit comments

Comments
 (0)