File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var PORT = 3000;
24
24
// This shouldn't be exposed to the user.
25
25
var handleCompile ;
26
26
var isSmokeTest = process . argv . some ( function ( arg ) {
27
- arg . indexOf ( '--smoke-test' ) > - 1
27
+ return arg . indexOf ( '--smoke-test' ) > - 1
28
28
} ) ;
29
29
30
30
if ( isSmokeTest ) {
@@ -117,10 +117,10 @@ function setupCompiler() {
117
117
118
118
var json = stats . toJson ( ) ;
119
119
var formattedErrors = json . errors . map ( function ( message ) {
120
- 'Error in ' + formatMessage ( message )
120
+ return 'Error in ' + formatMessage ( message )
121
121
} ) ;
122
122
var formattedWarnings = json . warnings . map ( function ( message ) {
123
- 'Warning in ' + formatMessage ( message )
123
+ return 'Warning in ' + formatMessage ( message )
124
124
} ) ;
125
125
126
126
if ( hasErrors ) {
You can’t perform that action at this time.
0 commit comments