@@ -149,7 +149,7 @@ export class ArduinoApp {
149
149
150
150
args . push ( "--pref" , `build.path=${ outputPath } ` ) ;
151
151
arduinoChannel . info ( `Please see the build logs in Output path: ${ outputPath } ` ) ;
152
- } else if ( VscodeSettings . getInstance ( ) . defaultOutputPath != "" ) {
152
+ } else if ( VscodeSettings . getInstance ( ) . defaultOutputPath !== "" ) {
153
153
const outputPath = VscodeSettings . getInstance ( ) . defaultOutputPath ;
154
154
args . push ( "--pref" , `build.path=${ outputPath } ` ) ;
155
155
arduinoChannel . info ( `Please see the build logs in Output path: ${ outputPath } ` ) ;
@@ -211,9 +211,10 @@ export class ArduinoApp {
211
211
if ( dc . output ) {
212
212
const outputPath = path . resolve ( ArduinoWorkspace . rootPath , dc . output ) ;
213
213
args . push ( "--pref" , `build.path=${ outputPath } ` ) ;
214
- } else if ( VscodeSettings . getInstance ( ) . defaultOutputPath != "" ) {
214
+ } else if ( VscodeSettings . getInstance ( ) . defaultOutputPath !== "" ) {
215
215
const outputPath = VscodeSettings . getInstance ( ) . defaultOutputPath ;
216
216
args . push ( "--pref" , `build.path=${ outputPath } ` ) ;
217
+ arduinoChannel . info ( `Please see the build logs in Output path: ${ outputPath } ` ) ;
217
218
} else {
218
219
const msg = "Output path is not specified. Unable to reuse previously compiled files. Upload could be slow. See README." ;
219
220
arduinoChannel . warning ( msg ) ;
@@ -276,7 +277,7 @@ export class ArduinoApp {
276
277
277
278
args . push ( "--pref" , `build.path=${ outputPath } ` ) ;
278
279
arduinoChannel . info ( `Please see the build logs in Output path: ${ outputPath } ` ) ;
279
- } else if ( VscodeSettings . getInstance ( ) . defaultOutputPath != "" ) {
280
+ } else if ( VscodeSettings . getInstance ( ) . defaultOutputPath !== "" ) {
280
281
const outputPath = VscodeSettings . getInstance ( ) . defaultOutputPath ;
281
282
args . push ( "--pref" , `build.path=${ outputPath } ` ) ;
282
283
arduinoChannel . info ( `Please see the build logs in Output path: ${ outputPath } ` ) ;
@@ -295,7 +296,6 @@ export class ArduinoApp {
295
296
arduinoChannel . error ( `Exit with code=${ reason . code } ${ os . EOL } ` ) ;
296
297
return false ;
297
298
}
298
-
299
299
}
300
300
301
301
// Add selected library path to the intellisense search path.
0 commit comments