Use bash entirely

This commit is contained in:
EncodedVenom 2024-10-19 20:02:05 -04:00
parent b365fc8c1c
commit 9878df20ba
2 changed files with 2 additions and 4 deletions

View file

@ -17,4 +17,4 @@ jobs:
- name: Analyze
run: |
(luau-analyze src || true) > analyze-log.txt # Suppress errors for now.
cat analyze-log.txt | (bash ./scripts/gh-warn-luau-analyze.sh)
bash ./scripts/gh-warn-luau-analyze.sh analyze-log.txt

View file

@ -1,6 +1,4 @@
while IFS="" read -r line || [ -n "$line" ]; do
echo "$line"
cat $1 | while IFS="" read -r line || [ -n "$line" ]; do
# Check if the line contains the error format
if [[ "$line" == *"TypeError:"* ]]; then