Merge pull request #359 from techotron/use_global_var_for_linter_rules

Use a global scope when setting the LANGAUGE_LINTER_RULES variable
This commit is contained in:
Lukas Gravley 2020-07-02 09:35:27 -05:00 committed by GitHub
commit 55d606d6e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,7 +313,7 @@ GetLinterRules() {
########################################
# Update the path to the file location #
########################################
declare "${LANGUAGE_LINTER_RULES}=$GITHUB_WORKSPACE/$LINTER_RULES_PATH/${!LANGUAGE_FILE_NAME}"
declare -g "${LANGUAGE_LINTER_RULES}=$GITHUB_WORKSPACE/$LINTER_RULES_PATH/${!LANGUAGE_FILE_NAME}"
else
########################################################
# No user default provided, using the template default #