mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
use global scope when setting the LANGAUGE_LINTER_RULES variable
This commit is contained in:
parent
8be900df6b
commit
10cdf0216d
1 changed files with 1 additions and 1 deletions
|
@ -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 #
|
||||
|
|
Loading…
Reference in a new issue