diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml index c4164e7fb1d..c0bdd5cea32 100644 --- a/.github/workflows/spellcheck.yaml +++ b/.github/workflows/spellcheck.yaml @@ -62,7 +62,7 @@ jobs: # Print grammar errors with line numbers if matches: for match in matches: - print(f"Grammar error at {line_range} - {match.message}") + print(f"Grammar error at line {match.line} - {match.message}") # Exit with a non-zero code to indicate failure exit(1)