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 d9e11ff commit d5e3721Copy full SHA for d5e3721
tools/clang-format.js
@@ -33,7 +33,11 @@ function main(args) {
33
console.error(clangFormatOutput);
34
const fixCmd = '"npm run lint:fix"';
35
console.error(`
36
- ERROR: please run ${fixCmd} to format changes in your commit`);
+ ERROR: please run ${fixCmd} to format changes in your commit
37
+ Note that when running the command locally, please keep your local
38
+ master branch and working branch up to date with nodejs/node-addon-api
39
+ to exclude un-related complains.
40
+ Or you can run "env CLANG_FORMAT_START=upstream/master ${fixCmd}".`);
41
return 1;
42
}
43
0 commit comments