We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c46a95 commit 57c212eCopy full SHA for 57c212e
.gitignore
@@ -3,3 +3,4 @@
3
/benchmark/build
4
/benchmark/src
5
/test/addon_build/addons
6
+/.vscode
tools/clang-format.js
@@ -20,7 +20,10 @@ function main (args) {
20
}
21
22
const clangFormatPath = path.dirname(require.resolve('clang-format'));
23
- const options = ['--binary=node_modules/.bin/clang-format', '--style=file'];
+ const binary = process.platform === 'win32'
24
+ ? 'node_modules\\.bin\\clang-format.cmd'
25
+ : 'node_modules/.bin/clang-format';
26
+ const options = ['--binary=' + binary, '--style=file'];
27
if (fix) {
28
options.push(FORMAT_START);
29
} else {
0 commit comments