From 9bb7a1332eb4653f0d1cd2a9d6e13b8ac83fe1a5 Mon Sep 17 00:00:00 2001 From: Levi Muniz Date: Mon, 6 Jul 2020 12:12:13 -0600 Subject: [PATCH] Fixed #368 config load issue caused by quotes FIXED - Removed quotes surrounding declare causing variable to not read in correctly This is why people don't like BASH... --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index d06d44cc..bed0951b 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -336,7 +336,7 @@ GetLinterRules() { ######################################## # Update the path to the file location # ######################################## - declare -g "${LANGUAGE_LINTER_RULES}=$GITHUB_WORKSPACE/$LINTER_RULES_PATH/${!LANGUAGE_FILE_NAME}" + eval "${LANGUAGE_LINTER_RULES}=$GITHUB_WORKSPACE/$LINTER_RULES_PATH/${!LANGUAGE_FILE_NAME}" else ######################################################## # No user default provided, using the template default #