path to rescript executable in lint.sh

This commit is contained in:
Quinn Dougherty 2022-04-11 01:23:09 -04:00
parent 3689caa1fc
commit 3f2cd652d4
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
name: Squiggle packages check
on:
# push: # Delete this line if there becomes a scarcity of build minutes.
pull_request:
branches:
- master

View File

@ -8,7 +8,7 @@ errors=false
for file in $files
do
current=`cat $file`
linted=`echo "${current}" | rescript format -stdin .res`
linted=`echo "${current}" | ./node_modules/.bin/rescript format -stdin .res`
diff=`diff <(echo $current) <(echo $linted)`
if [ ${#diff} -gt 0 ]