Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 0b2b77a

Browse files
hlovdaladiazulay
authored andcommitted
Rename output to buildDir
1 parent 335d80a commit 0b2b77a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/arduino/arduino.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export class ArduinoApp {
280280
});
281281
}
282282

283-
public async verify(buildMode: BuildMode, output: string = "") {
283+
public async verify(buildMode: BuildMode, buildDir: string = "") {
284284
const dc = DeviceContext.getInstance();
285285
const args: string[] = [];
286286
const boardDescriptor = this.getBoardBuildString();
@@ -322,8 +322,8 @@ export class ArduinoApp {
322322
return false;
323323
}
324324

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);
327327
const dirPath = path.dirname(outputPath);
328328
if (!util.directoryExistsSync(dirPath)) {
329329
logger.notifyUserError("InvalidOutPutPath", new Error(constants.messages.INVALID_OUTPUT_PATH + outputPath));

0 commit comments

Comments
 (0)