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 1317a87 commit 4e075c1Copy full SHA for 4e075c1
bin/check-clang-format.js
@@ -19,7 +19,7 @@ function checkGitConfig() {
19
const style = spawn('git', ['config', '--get', 'clangFormat.style'], spawn_opts).stdout.trim();
20
let gitConfigWrong = false;
21
22
- if (binary !== 'node_modules/.bin/clang-format') {
+ if (binary.indexOf(`node_modules${path.sep}.bin${path.sep}clang-format`) === -1) {
23
console.error(`
24
ERROR: Found git config --get clangFormat.binary = "${binary}"
25
This can result in running a different version of clang-format than your
0 commit comments