File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ function formatResult(result = {}, options = {}) {
62
62
const decoration = enabled ? chalk [ color ] ( sign ) : sign ;
63
63
const summary = `${ decoration } found ${ errors . length } problems, ${
64
64
warnings . length
65
- } warnings\n Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint
66
- ` ;
65
+ } warnings \n (Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint)`;
67
66
return [ ...problems , enabled ? chalk . bold ( summary ) : summary ] ;
68
67
}
69
68
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import chalk from 'chalk';
3
3
import includes from 'lodash.includes' ;
4
4
import format from '.' ;
5
5
6
- const ok = chalk . bold ( `${ chalk . green ( '✔' ) } found 0 problems, 0 warnings` ) ;
6
+ const ok = chalk . bold (
7
+ `${ chalk . green (
8
+ '✔'
9
+ ) } found 0 problems, 0 warnings \n (Need help? -> https://github.com/marionebl/commitlint#what-is-commitlint)`
10
+ ) ;
7
11
8
12
test ( 'does nothing without arguments' , t => {
9
13
const actual = format ( ) ;
You can’t perform that action at this time.
0 commit comments