mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-25 22:22:23 -05:00
Fix secondary rules extension (#3136)
This commit is contained in:
parent
99bc25cbfd
commit
02e2e313f9
1 changed files with 2 additions and 2 deletions
|
@ -113,9 +113,9 @@ GetLinterRules() {
|
|||
# Set the path
|
||||
SECONDARY_LANGUAGE_FILE_PATH=''
|
||||
if [ -z "${LINTER_RULES_PATH}" ]; then
|
||||
SECONDARY_LANGUAGE_FILE_PATH="${GITHUB_WORKSPACE}/${!LANGUAGE_FILE_NAME}"
|
||||
SECONDARY_LANGUAGE_FILE_PATH="${GITHUB_WORKSPACE}/${SECONDARY_FILE_NAME}"
|
||||
else
|
||||
SECONDARY_LANGUAGE_FILE_PATH="${GITHUB_WORKSPACE}/${LINTER_RULES_PATH}/${!LANGUAGE_FILE_NAME}"
|
||||
SECONDARY_LANGUAGE_FILE_PATH="${GITHUB_WORKSPACE}/${LINTER_RULES_PATH}/${SECONDARY_FILE_NAME}"
|
||||
fi
|
||||
debug "${LANGUAGE_NAME} language rule file has a secondary rules file name to check (${SECONDARY_FILE_NAME}). Path:[${SECONDARY_LANGUAGE_FILE_PATH}]"
|
||||
|
||||
|
|
Loading…
Reference in a new issue