diff --git a/.github/workflows/lint_vba.yml b/.github/workflows/lint_vba.yml index 31854af..202fab9 100644 --- a/.github/workflows/lint_vba.yml +++ b/.github/workflows/lint_vba.yml @@ -29,9 +29,8 @@ jobs: - name: Lint with antlr run: | foo=$(antlr4-parse vba.g4 startRule src/ClassModules/SQLQuery.cls 2>&1) - if [[ $foo != 0 ]]; then exit 1; fi + if [[ $foo != "" ]]; then exit 1; fi - name: Lint tests with antlr run: | antlr4-parse vba.g4 startRule testing/ClassModules/*.cls antlr4-parse vba.g4 startRule testing/Modules/*.bas -