fix: member permissions now works correctly
This commit is contained in:
@ -1,2 +1,14 @@
|
||||
#!/bin/bash
|
||||
yarn --cwd frontend eslint $(echo $1 | sed 's/frontend\///g')
|
||||
#!/bin/sh
|
||||
|
||||
PASS=true
|
||||
for FILE in "$@"
|
||||
do
|
||||
yarn --cwd frontend run eslint $(echo $FILE | sed 's/frontend\///g')
|
||||
if [ "$?" -eq 1 ]; then
|
||||
PASS=false
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$PASS" = "false" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user