From 8915629892a25942562ebc207f80d2120976f87a Mon Sep 17 00:00:00 2001 From: Drummond Dawson Date: Sun, 4 Oct 2020 14:02:37 -0400 Subject: [PATCH] fix(@angular/cli): add blank line in migration commit message Adds a blank line in the commit message between the subject and body in order to properly separate the two. (cherry picked from commit 7254d18ccb1a1fae41e3f748f1ce10c7f7ed4a9e) --- packages/angular/cli/commands/update-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular/cli/commands/update-impl.ts b/packages/angular/cli/commands/update-impl.ts index 5d6d6815f81f..7d9275a6dc23 100644 --- a/packages/angular/cli/commands/update-impl.ts +++ b/packages/angular/cli/commands/update-impl.ts @@ -239,7 +239,7 @@ export class UpdateCommand extends Command { if (commit) { const commitPrefix = `${packageName} migration - ${migration.name}`; const commitMessage = migration.description - ? `${commitPrefix}\n${migration.description}` + ? `${commitPrefix}\n\n${migration.description}` : commitPrefix; const committed = this.commit(commitMessage); if (!committed) {