Skip to content

Commit

Permalink
Make the linter only scan the src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
zontreck authored Mar 14, 2021
1 parent 6335525 commit 30a1893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_lslint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -o pipefail
LSLINT_PATH=$1
FAILED=.

for file in **/*.lsl; do
for file in src/**/*.lsl; do
echo "[>>] Linting $file..." | tee -a ./test.run.txt
$1 "$file" 2>&1 | tee -a ./test.run.txt

Expand All @@ -20,4 +20,4 @@ done
if [ $FAILED != . ] ; then
echo "[!!!] Linting failed on ${#FAILED} files - check the logs."
exit ${#FAILED}
fi
fi

0 comments on commit 30a1893

Please sign in to comment.