From 10cdf0216d570696ee8d579040082db5e71b1a1d Mon Sep 17 00:00:00 2001 From: esnow Date: Thu, 2 Jul 2020 14:35:28 +0100 Subject: [PATCH] use global scope when setting the LANGAUGE_LINTER_RULES variable --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index c3fbb93f..6be8cb03 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -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 #