fix(@angular/cli): add migration name to commit header

Closes: #16030
This commit is contained in:
Alan Agius 2019-11-03 14:42:31 +01:00 committed by vikerman
parent d13387db4d
commit 2d66fecee8

View File

@ -189,7 +189,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
// Commit migration
if (commit) {
let message = `migrate workspace for ${packageName}@${migration.version}`;
let message = `${packageName} migration - ${migration.name}.`;
if (migration.description) {
message += '\n' + migration.description;
}