add quotes

This commit is contained in:
assignUser 2020-08-17 12:14:15 +00:00
parent 0f47f68445
commit f9b81243db

View file

@ -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