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 e23839c commit 6bd2de8Copy full SHA for 6bd2de8
@commitlint/cli/src/cli.js
@@ -121,7 +121,7 @@ async function main(options) {
121
122
const input = await (fromStdin ? stdin() : read(range, {cwd: flags.cwd}));
123
124
- const messages = (Array.isArray(input) ? input : [input])
+ const messages = (Array.isArray(input) ? input : [input.trimEnd()])
125
.filter(message => typeof message === 'string')
126
.filter(Boolean);
127
0 commit comments