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...
This commit is contained in:
Levi Muniz 2020-07-06 12:12:13 -06:00
parent 93bf4a79d4
commit 9bb7a1332e
No known key found for this signature in database
GPG key ID: 1003C39B6E338137

View file

@ -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 #