From a0f33e53c3c9ab526eb61cbdb6c98a287bc94298 Mon Sep 17 00:00:00 2001 From: EncodedVenom <32179912+EncodedVenom@users.noreply.github.com> Date: Sat, 19 Oct 2024 19:41:28 -0400 Subject: [PATCH] Update analysis.yaml Putting this in another PR --- .github/workflows/analysis.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/analysis.yaml b/.github/workflows/analysis.yaml index d372e57..f3d07be 100644 --- a/.github/workflows/analysis.yaml +++ b/.github/workflows/analysis.yaml @@ -17,20 +17,3 @@ jobs: - name: Analyze run: | output=$(luau-analyze src || true) # Suppress errors for now. - - # Parse the output and generate GitHub Actions warnings - echo "$output" | while IFS= read -r line; do - # Check if the line contains the error format - if [[ "$line" == *"TypeError:"* ]]; then - - file_line="${line%%:*}" # Get the part before the first colon - message="${line#*: TypeError: }" # Get the message after "TypeError: " - - file="${file_line%(*}" # Get the file name (everything before the '(') - location="${file_line#*()}"; # Get the part inside parentheses (line and column) - line_number="${location%%,*}"; # Extract the line number - column_number="${location#*,}"; # Extract the column number - - echo "::warning file=${file},line=${line_number},col=${column_number}::${message}" - fi - done