From 4507a8e056c50c8e79a875edb05a19b152c577c7 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Thu, 15 Oct 2020 12:17:21 +0200 Subject: [PATCH] Add a debug instructions to check LANGUAGE_LINTER_RULES --- lib/linter.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/linter.sh b/lib/linter.sh index f0a080ac..a3a90f1e 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -409,6 +409,8 @@ GetLinterRules() { debug " -> Codebase does NOT have file:[${LANGUAGE_FILE_PATH}], nor file:[${SECONDARY_LANGUAGE_FILE_PATH}], using Default rules at:[${!LANGUAGE_LINTER_RULES}]" fi + debug " -> Language rules file variable (${LANGUAGE_LINTER_RULES}) value is: ${!LANGUAGE_LINTER_RULES}" + if [ -e "${!LANGUAGE_LINTER_RULES}" ]; then debug " -> Rules file (${!LANGUAGE_LINTER_RULES}) exists." else