mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 12:10:56 -05:00
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:
commit
55d606d6e7
1 changed files with 1 additions and 1 deletions
|
@ -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 #
|
||||
|
|
Loading…
Reference in a new issue