Skip to content

Commit 0ab3c36

Browse files
author
Akos Kitta
committed
Escape clang-format path.
Signed-off-by: Akos Kitta <[email protected]>
1 parent b9befa5 commit 0ab3c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/node/clang-formatter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class ClangFormatter implements Formatter {
3030
this.style(formatterConfigFolderUris, options),
3131
]);
3232
const formatted = await spawnCommand(
33-
execPath,
33+
`"${execPath}"`,
3434
[style],
3535
console.error,
3636
content

0 commit comments

Comments
 (0)