Skip to content

Commit 8915629

Browse files
drumoniiclydin
authored andcommitted
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 7254d18)
1 parent 862ef1e commit 8915629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
239239
if (commit) {
240240
const commitPrefix = `${packageName} migration - ${migration.name}`;
241241
const commitMessage = migration.description
242-
? `${commitPrefix}\n${migration.description}`
242+
? `${commitPrefix}\n\n${migration.description}`
243243
: commitPrefix;
244244
const committed = this.commit(commitMessage);
245245
if (!committed) {

0 commit comments

Comments
 (0)