From bc13eacf604a1e4126ebebdf8635b8f446d301a8 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. --- 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 2b931eefa093..b67d46aa1ec5 100644 --- a/packages/angular/cli/commands/update-impl.ts +++ b/packages/angular/cli/commands/update-impl.ts @@ -248,7 +248,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) {