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.

(cherry picked from commit 7254d18)
  • Loading branch information
drumonii authored and clydin committed Oct 5, 2020
1 parent 862ef1e commit 8915629
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 @@ -239,7 +239,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 8915629

Please sign in to comment.