Skip to content

Commit

Permalink
Use bash entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
EncodedVenom committed Oct 20, 2024
1 parent b365fc8 commit 9878df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions scripts/gh-warn-luau-analyze.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9878df2

Please sign in to comment.