Skip to content

Commit e628986

Browse files
committed
Check for the var existence
1 parent fbaba2a commit e628986

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Evaluate ESLint result for should-fail
3939
run: |
40-
if [ "$lint_exit_code" -eq 0 ]; then
40+
if [ -n "$lint_exit_code" ]; then
4141
echo "ESLint for should-fail passed unexpectedly. Marking this as a failure."
4242
exit 1
4343
else

0 commit comments

Comments
 (0)