Skip to content

Commit 7254d18

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.
1 parent 243ca5a commit 7254d18

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
@@ -248,7 +248,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
248248
if (commit) {
249249
const commitPrefix = `${packageName} migration - ${migration.name}`;
250250
const commitMessage = migration.description
251-
? `${commitPrefix}\n${migration.description}`
251+
? `${commitPrefix}\n\n${migration.description}`
252252
: commitPrefix;
253253
const committed = this.commit(commitMessage);
254254
if (!committed) {

0 commit comments

Comments
 (0)