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 @@ -280,7 +280,7 @@ export class ArduinoApp {
280
280
} ) ;
281
281
}
282
282
283
- public async verify ( buildMode : BuildMode , output : string = "" ) {
283
+ public async verify ( buildMode : BuildMode , buildDir : string = "" ) {
284
284
const dc = DeviceContext . getInstance ( ) ;
285
285
const args : string [ ] = [ ] ;
286
286
const boardDescriptor = this . getBoardBuildString ( ) ;
@@ -322,8 +322,8 @@ export class ArduinoApp {
322
322
return false ;
323
323
}
324
324
325
- if ( output || dc . output ) {
326
- const outputPath = path . resolve ( ArduinoWorkspace . rootPath , output || dc . output ) ;
325
+ if ( buildDir || dc . output ) {
326
+ const outputPath = path . resolve ( ArduinoWorkspace . rootPath , buildDir || dc . output ) ;
327
327
const dirPath = path . dirname ( outputPath ) ;
328
328
if ( ! util . directoryExistsSync ( dirPath ) ) {
329
329
logger . notifyUserError ( "InvalidOutPutPath" , new Error ( constants . messages . INVALID_OUTPUT_PATH + outputPath ) ) ;
You can’t perform that action at this time.
0 commit comments