use global scope when setting the LANGAUGE_LINTER_RULES variable

This commit is contained in:
esnow 2020-07-02 14:35:28 +01:00
parent 8be900df6b
commit 10cdf0216d

View file

@ -317,7 +317,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 #