File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,13 @@ exports.run = function (options) {
57
57
if ( ! err ) {
58
58
if ( results [ 0 ] && results [ 1 ] ) {
59
59
success ( 'All files complete without error.' ) ;
60
+ process . exit ( 0 ) ;
61
+ } else {
62
+ process . exit ( 1 ) ;
60
63
}
61
64
} else if ( err === true ) {
62
- error ( 'Lint Error!' ) ;
65
+ error ( 'Lint Error' ) ;
66
+ process . exit ( 1 ) ;
63
67
} else {
64
68
error ( err ) ;
65
69
}
Original file line number Diff line number Diff line change @@ -56,9 +56,13 @@ exports.run = function (options) {
56
56
if ( ! err ) {
57
57
if ( results [ 0 ] && results [ 1 ] ) {
58
58
success ( 'All files complete without error.' ) ;
59
+ process . exit ( 0 ) ;
60
+ } else {
61
+ process . exit ( 1 ) ;
59
62
}
60
63
} else if ( err === true ) {
61
- error ( 'Lint Error!' ) ;
64
+ error ( 'Lint Error' ) ;
65
+ process . exit ( 1 ) ;
62
66
} else {
63
67
error ( err ) ;
64
68
}
You can’t perform that action at this time.
0 commit comments