Skip to content

Commit 842abf9

Browse files
committed
chore: fix clang-format cmd
1 parent de98cb4 commit 842abf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "prettier --check index.js",
1010
"format": "npm run format:js && npm run format:cpp",
1111
"format:js": "prettier --write index.js",
12-
"format:cpp": "find src/ -iname *.h -o -iname *.cc -iname *.mm | xargs clang-format -i",
12+
"format:cpp": "find src -name '*.mm' -o -name '*.h' -o -name '*.cc'| xargs clang-format -i",
1313
"test": "./node_modules/.bin/mocha --reporter spec"
1414
},
1515
"repository": {

0 commit comments

Comments
 (0)