Skip to content

Commit 29a1bf2

Browse files
committed
update pre-commit to ignore inspector files formatting
1 parent c718ef9 commit 29a1bf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/astyle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const validFiles = ['c', 'cpp', 'h', 'java'];
88
// let dateString = `${date.getDay() + 1}-${date.getMonth() + 1}-${date.getFullYear()}--${date.getHours()}:${date.getMinutes()}`
99
// let backupDir = `formatbackup-${dateString}`;
1010

11-
let astyleOptions = "--style=java -H -k1 -j -C -s4 -xi -n" // "--options=tools\\.astyle"
11+
let astyleOptions = "--style=java -H -k1 -j -C -s4 -xi -n --exclude=\"runtime/src/main/jni/include\" --exclude=\"runtime/src/main/jni/v8_inspector\"" // "--options=tools\\.astyle"
1212
let astyle = "astyle";
1313

1414
if (process.platform.indexOf("win") === 0) {

0 commit comments

Comments
 (0)