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 #