File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ export class ArduinoApp {
256
256
257
257
arduinoChannel . show ( ) ;
258
258
259
- let verifyResult : boolean ;
259
+ let success = false ;
260
260
const compilerParserContext = makeCompilerParserContext ( dc ) ;
261
261
262
262
try {
@@ -266,22 +266,21 @@ export class ArduinoApp {
266
266
undefined ,
267
267
compilerParserContext . callback ) ;
268
268
arduinoChannel . end ( `Finished verifying sketch - ${ dc . sketch } ${ os . EOL } ` ) ;
269
- verifyResult = true ;
269
+ success = true ;
270
270
} catch ( reason ) {
271
271
const msg = reason . code ?
272
272
`Exit with code=${ reason . code } ${ os . EOL } ` :
273
273
reason . message ?
274
274
reason . message :
275
275
JSON . stringify ( reason ) ;
276
276
arduinoChannel . error ( msg ) ;
277
- verifyResult = false ;
278
277
}
279
278
280
279
if ( compilerParserContext . conclude ) {
281
280
compilerParserContext . conclude ( ) ;
282
281
}
283
282
284
- return verifyResult ;
283
+ return success ;
285
284
}
286
285
287
286
public tryToUpdateIncludePaths ( ) {
You can’t perform that action at this time.
0 commit comments