Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
sailajakommineni committed Nov 24, 2023
1 parent e13608f commit 722c2f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
print(f"No grammar errors found in {filename}.")
else:
for match in matches:
if hasattr(match, 'fromy') and hasattr(match, 'toy'):
line_range = f"Lines {match.fromy}-{match.toy}"
else:
line_range = "Unknown lines"
print(f"Error in {filename} at line {match.from_line}, column {match.from_col}: {match.message}")
file_path = '.github/checking.txt'
Expand Down

0 comments on commit 722c2f1

Please sign in to comment.