Skip to content

Commit

Permalink
fix(@angular/cli): add blank line in migration commit message
Browse files Browse the repository at this point in the history
Adds a blank line in the commit message between the subject and body in order to properly separate the two.
  • Loading branch information
drumonii authored and clydin committed Oct 4, 2020
1 parent 243ca5a commit 7254d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/cli/commands/update-impl.ts
Expand Up @@ -248,7 +248,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
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) {
Expand Down

0 comments on commit 7254d18

Please sign in to comment.