File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ dune build @fmt --auto-promote
66
77files=$( find runtime tests -type f \( -name " *.res" -o -name " *.resi" \) ! -name " syntaxErrors*" ! -path " tests/syntax_*" ! -path " tests/analysis_tests/tests*" ! -path " tests/gentype_tests/typescript-react-example/node_modules" )
88./cli/rescript format $files
9+
10+ npm run format
Original file line number Diff line number Diff line change @@ -30,3 +30,5 @@ case "$(uname -s)" in
3030 echo " Code formatting checks skipped for this platform."
3131esac
3232
33+ echo " Biome format check"
34+ npm run checkFormat
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ if (process.argv.includes("-all")) {
4444
4545async function runTests ( ) {
4646 if ( formatTest ) {
47- cp . execSync ( "npm run checkFormat" , {
48- cwd : path . join ( __dirname , ".." ) ,
49- stdio : [ 0 , 1 , 2 ] ,
50- } ) ;
51-
5247 cp . execSync ( "bash scripts/format_check.sh" , {
5348 cwd : path . join ( __dirname , ".." ) ,
5449 stdio : [ 0 , 1 , 2 ] ,
You can’t perform that action at this time.
0 commit comments