Skip to content

Commit b780736

Browse files
Peter WonePeter Wone
Peter Wone
authored and
Peter Wone
committed
Escape backslash in literal string
1 parent 66642eb commit b780736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export function spawn(command: string, outputChannel: vscode.OutputChannel, args
214214
let chcp = childProcess.execSync("chcp");
215215
codepage = chcp.toString().split(":").pop().trim();
216216
} catch (error) {
217-
arduinoChannel.warning(`Defaulting to code page 850 because chcp failed.\rEnsure your path includes %SystemRoot%\system32\r${error.message}`);
217+
arduinoChannel.warning(`Defaulting to code page 850 because chcp failed.\rEnsure your path includes %SystemRoot%\\system32\r${error.message}`);
218218
codepage = "850";
219219
}
220220
}

0 commit comments

Comments
 (0)