From 30ac5034b33907d33fa1c1cde6c041fcb5e9544d Mon Sep 17 00:00:00 2001 From: Kevin Nowaczyk Date: Mon, 30 Oct 2023 16:56:19 -0400 Subject: [PATCH] Update lint_vba.yml --- .github/workflows/lint_vba.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -