Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0ab3c36

Browse files
author
Akos Kitta
committedJun 2, 2022
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.