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

Commit f0dd7c1

Browse files
authored
Merge pull request #1375 from AlexIII/fix_build_cwd
Fix build cwd (#1374)
2 parents 146e9d1 + 2d87eb2 commit f0dd7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino/arduino.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ export class ArduinoApp {
764764
return await util.spawn(
765765
this._settings.commandPath,
766766
args,
767-
undefined,
767+
{ cwd: ArduinoWorkspace.rootPath },
768768
{ /*channel: arduinoChannel.channel,*/ stdout: stdoutcb, stderr: stderrcb },
769769
).then(async () => {
770770
const ret = await cleanup("ok");

0 commit comments

Comments
 (0)