Skip to content

Commit f1d443b

Browse files
authored
fix(format): add new line to result (#518)
#504
1 parent 8c0852d commit f1d443b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

@commitlint/format/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function formatResult(result = {}, options = {}) {
6262
const decoration = enabled ? chalk[color](sign) : sign;
6363
const summary = `${decoration} found ${errors.length} problems, ${
6464
warnings.length
65-
} warnings \n (Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint)`;
65+
} warnings \n (Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint)\n\n`;
6666
return [...problems, enabled ? chalk.bold(summary) : summary];
6767
}
6868

@commitlint/format/src/index.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import format from '.';
66
const ok = chalk.bold(
77
`${chalk.green(
88
'✔'
9-
)} found 0 problems, 0 warnings \n (Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint)`
9+
)} found 0 problems, 0 warnings \n (Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint)\n\n`
1010
);
1111

1212
test('does nothing without arguments', t => {

0 commit comments

Comments
 (0)