File tree 3 files changed +4
-5
lines changed
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
6
6
7
7
files=$( 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" )
8
8
./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
30
30
echo " Code formatting checks skipped for this platform."
31
31
esac
32
32
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")) {
44
44
45
45
async function runTests ( ) {
46
46
if ( formatTest ) {
47
- cp . execSync ( "npm run checkFormat" , {
48
- cwd : path . join ( __dirname , ".." ) ,
49
- stdio : [ 0 , 1 , 2 ] ,
50
- } ) ;
51
-
52
47
cp . execSync ( "bash scripts/format_check.sh" , {
53
48
cwd : path . join ( __dirname , ".." ) ,
54
49
stdio : [ 0 , 1 , 2 ] ,
You can’t perform that action at this time.
0 commit comments