We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5d1bc commit fa0d78dCopy full SHA for fa0d78d
@commitlint/format/src/index.js
@@ -31,7 +31,7 @@ function formatInput(result = {}, options = {}) {
31
32
const sign = '⧗';
33
const decoration = enabled ? chalk.gray(sign) : sign;
34
- const commitText = errors.length > 0 ? `\n${input}\n` : input.split('\n')[0];
+ const commitText = errors.length > 0 ? input : input.split('\n')[0];
35
36
const decoratedInput = enabled ? chalk.bold(commitText) : commitText;
37
0 commit comments