File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,12 +211,12 @@ export class ArduinoApp {
211
211
const dc = DeviceContext . getInstance ( ) ;
212
212
const boardDescriptor = this . getBoardBuildString ( ) ;
213
213
if ( ! boardDescriptor ) {
214
- return ;
214
+ return false ;
215
215
}
216
216
217
217
if ( ! ArduinoWorkspace . rootPath ) {
218
218
vscode . window . showWarningMessage ( "Cannot find the sketch file." ) ;
219
- return ;
219
+ return false ;
220
220
}
221
221
222
222
if ( ! dc . sketch || ! util . fileExistsSync ( path . join ( ArduinoWorkspace . rootPath , dc . sketch ) ) ) {
@@ -249,7 +249,7 @@ export class ArduinoApp {
249
249
const dirPath = path . dirname ( outputPath ) ;
250
250
if ( ! util . directoryExistsSync ( dirPath ) ) {
251
251
Logger . notifyUserError ( "InvalidOutPutPath" , new Error ( constants . messages . INVALID_OUTPUT_PATH + outputPath ) ) ;
252
- return ;
252
+ return false ;
253
253
}
254
254
255
255
if ( this . useArduinoCli ( ) ) {
You can’t perform that action at this time.
0 commit comments