We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd5eba3 commit f27e7acCopy full SHA for f27e7ac
@commitlint/cli/src/help.js
@@ -26,7 +26,7 @@ module.exports = flags => {
26
);
27
const ds = defaults ? `, defaults to: ${defaults}` : '';
28
const length = flags.reduce((sum, flag) => sum + flag.length, 0);
29
- return `${fs.join(',')}${' '.repeat(4 + longest - length)}${desc}${ds}`;
+ return `${fs.join(',')}${' '.repeat(Math.max(4 + longest - length, 0))}${desc}${ds}`;
30
})
31
.join('\n');
32
};
0 commit comments