Skip to content

Commit af86a19

Browse files
committed
Typo
1 parent 841a811 commit af86a19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/arduino/arduino.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class ArduinoApp {
140140
}
141141
}
142142

143-
const appPath = this.isArduinoCli ? ArduinoWorkspace.rootPath : path.join(ArduinoWorkspace.rootPath, dc.sketch);
143+
const appPath = this.isArduinoCli() ? ArduinoWorkspace.rootPath : path.join(ArduinoWorkspace.rootPath, dc.sketch);
144144
const args = this.isArduinoCli() ? ["upload", "-b", boardDescriptor] : ["--upload", "--board", boardDescriptor];
145145
if (dc.port) {
146146
args.push("--port", dc.port);
@@ -213,7 +213,7 @@ export class ArduinoApp {
213213
UsbDetector.getInstance().pauseListening();
214214
await vscode.workspace.saveAll(false);
215215

216-
const appPath = this.isArduinoCli ? ArduinoWorkspace.rootPath : path.join(ArduinoWorkspace.rootPath, dc.sketch);
216+
const appPath = this.isArduinoCli() ? ArduinoWorkspace.rootPath : path.join(ArduinoWorkspace.rootPath, dc.sketch);
217217
const args = ["--upload", "--board", boardDescriptor, "--port", dc.port, "--useprogrammer",
218218
"--pref", "programmer=" + selectProgrammer, appPath];
219219
if (VscodeSettings.getInstance().logLevel === "verbose") {
@@ -276,7 +276,7 @@ export class ArduinoApp {
276276
}
277277
}
278278

279-
const appPath = this.isArduinoCli ? ArduinoWorkspace.rootPath : path.join(ArduinoWorkspace.rootPath, dc.sketch);
279+
const appPath = this.isArduinoCli() ? ArduinoWorkspace.rootPath : path.join(ArduinoWorkspace.rootPath, dc.sketch);
280280
const args = this.isArduinoCli() ? ["compile", "-b", boardDescriptor, appPath] : ["--verify", "--board", boardDescriptor, appPath];
281281
if (VscodeSettings.getInstance().logLevel === "verbose") {
282282
args.push("--verbose");

0 commit comments

Comments
 (0)