Skip to content

Commit

Permalink
fix: clang-format failed on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
hyj1991 committed Apr 16, 2022
1 parent e928c9c commit ac02ba2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
fail-fast: false
matrix:
ci-type: [
{os: "windows-latest", arch: "x64"},
{os: "macos-latest", arch: "x64"},
{os: "ubuntu-latest", arch: "x64"},
{os: "macos-latest", arch: "x64"}
]
node-version: [ 8, 10, 12, 14, 16, 17 ]
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"pack-7u": "node scripts/7u.js",
"copy": "node scripts/copy.js",
"build": "npm run lint && node-pre-gyp rebuild",
"format": "clang-format -i --glob=\"src/**/!(report_win)[.h|.cc]\"",
"format": "clang-format --version && clang-format -i --glob=\"src/**/!(report_win)[.h|.cc]\"",
"lint": "npm run format && eslint --fix xprofiler.js \"test/**/*.js\" lib/*.js patch/*.js bin/xprofctl scripts/**/*.js",
"test": "mocha -t 0 -R spec test/*.test.js test/patch/*.test.js",
"test-single": "mocha -t 0 -R spec",
Expand Down

0 comments on commit ac02ba2

Please sign in to comment.