File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ shopt -s extglob
44
55dune build @fmt --auto-promote
66
7- files=$( find runtime tests -type f \( -name " *.res" -o -name " *.resi" \) ! -name " syntaxErrors*" ! -path " tests/syntax_*" ! -path " tests/analysis_tests/tests*" ! -path " */node_modules/*" )
7+ files=$( find runtime tests -type f \( -name " *.res" -o -name " *.resi" \) ! -name " syntaxErrors*" ! -name " generated_mocha_test.res " ! - path " tests/syntax_*" ! -path " tests/analysis_tests/tests*" ! -path " */node_modules/*" )
88./cli/rescript format $files
99
1010npm run format
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ case "$(uname -s)" in
1717 fi
1818
1919 echo " Checking ReScript code formatting..."
20- files=$( find runtime tests -type f \( -name " *.res" -o -name " *.resi" \) ! -name " syntaxErrors*" ! -path " tests/syntax_*" ! -path " tests/analysis_tests/tests*" ! -path " */node_modules/*" )
20+ files=$( find runtime tests -type f \( -name " *.res" -o -name " *.resi" \) ! -name " syntaxErrors*" ! -name " generated_mocha_test.res " ! - path " tests/syntax_*" ! -path " tests/analysis_tests/tests*" ! -path " */node_modules/*" )
2121 if ./cli/rescript format -check $files ; then
2222 printf " ${successGreen} ✅ ReScript code formatting ok.${reset} \n"
2323 else
You can’t perform that action at this time.
0 commit comments