File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ exports.run = function (options) {
18
18
] , ( err , results ) => {
19
19
if ( ! err ) {
20
20
if ( results [ 0 ] && results [ 1 ] ) {
21
- success ( 'All Files Complete! ' ) ;
21
+ success ( 'All files complete without error. ' ) ;
22
22
}
23
23
} else if ( err === true ) {
24
24
error ( 'Lint Error!' ) ;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ class Project {
142
142
config . plugins . push ( new ExtractTextPlugin ( config . output . filename . replace ( '[ext]' , '.css' ) ) ) ;
143
143
}
144
144
lint ( callback ) {
145
- warn ( 'Lint JS Files ... ...' ) ;
145
+ warn ( 'Linting JS Files ...' ) ;
146
146
this . eslintConfig . useEslintrc = false ;
147
147
148
148
const jsExtNames = this . config . _config . entryExtNames . js ,
@@ -161,11 +161,15 @@ class Project {
161
161
)
162
162
) ,
163
163
formatter = cli . getFormatter ( ) ;
164
- info ( formatter ( report . results ) ) ;
164
+
165
+ if ( report . errorCount > 0 ) {
166
+ info ( formatter ( report . results ) ) ;
167
+ }
168
+
165
169
callback ( null , ! report . errorCount ) ;
166
170
}
167
171
lintCss ( callback ) {
168
- warn ( 'Lint CSS Files ... ...' ) ;
172
+ warn ( 'Linting CSS Files ...' ) ;
169
173
170
174
const cssExtNames = this . config . _config . entryExtNames . css ,
171
175
cssLintPath = cssExtNames . map ( ( cssExt ) => {
You can’t perform that action at this time.
0 commit comments