Skip to content

Commit

Permalink
fix: test code
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Dec 7, 2024
1 parent ce8719f commit cb5140c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/eslint.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ def run_eslint():
capture_output=True
)

if result.returncode != 0:
print(f"ESLint failed with exit code {result.returncode}")
print(result.stderr) # Log errors reported by ESLint


print(result.stdout)
last_line = result.stdout.strip().splitlines()[-1] if result.stdout.strip().splitlines() else ""
regex = r'^\d+'
Expand Down

0 comments on commit cb5140c

Please sign in to comment.