Skip to content

Commit

Permalink
Check for the var existence
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadxali committed Nov 19, 2024
1 parent fbaba2a commit e628986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Evaluate ESLint result for should-fail
run: |
if [ "$lint_exit_code" -eq 0 ]; then
if [ -n "$lint_exit_code" ]; then
echo "ESLint for should-fail passed unexpectedly. Marking this as a failure."
exit 1
else
Expand Down

0 comments on commit e628986

Please sign in to comment.