mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
add quotes
This commit is contained in:
parent
0f47f68445
commit
f9b81243db
1 changed files with 4 additions and 4 deletions
|
@ -1701,12 +1701,12 @@ if [ "${VALIDATE_R}" == "true" ]; then
|
||||||
if [ ! -f "${GITHUB_WORKSPACE}/.lintr" ]; then
|
if [ ! -f "${GITHUB_WORKSPACE}/.lintr" ]; then
|
||||||
info " "
|
info " "
|
||||||
info "No .lintr configuration file found, using defaults."
|
info "No .lintr configuration file found, using defaults."
|
||||||
cp $R_LINTER_RULES $GITHUB_WORKSPACE
|
cp $R_LINTER_RULES "$GITHUB_WORKSPACE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#######################
|
######################
|
||||||
# Lint the R files #
|
# Lint the R files #
|
||||||
#######################
|
######################
|
||||||
# LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY"
|
# LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY"
|
||||||
LintCodebase "R" "lintr" "${R_LINTER_RULES}" ".*\.\(r\|R\|Rmd\|rmd\)\$" "${FILE_ARRAY_R[@]}"
|
LintCodebase "R" "lintr" "${R_LINTER_RULES}" ".*\.\(r\|R\|Rmd\|rmd\)\$" "${FILE_ARRAY_R[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue