mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 18:20:57 -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
|
||||
info " "
|
||||
info "No .lintr configuration file found, using defaults."
|
||||
cp $R_LINTER_RULES $GITHUB_WORKSPACE
|
||||
cp $R_LINTER_RULES "$GITHUB_WORKSPACE"
|
||||
fi
|
||||
|
||||
#######################
|
||||
######################
|
||||
# Lint the R files #
|
||||
#######################
|
||||
######################
|
||||
# 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[@]}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue