diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 7f3606d..0f3483a 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -27,7 +27,7 @@ jobs: antlr4-parse - name: Lint with antlr run: | - foo=$(antlr4-parse vba.g4 startRule src/ClassModules/SQLQuery.cls 2>&1);if [[ foo -ne "" ]]; then exit 1; fi + foo=$(antlr4-parse vba.g4 startRule src/ClassModules/SQLQuery.cls 2>&1);if [[ foo -ne 0 ]]; then exit 1; fi - name: Lint tests with antlr run: | antlr4-parse vba.g4 startRule testing/ClassModules/*.cls