diff --git a/lib/linter.sh b/lib/linter.sh index 413f9537..9cd7c3b8 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -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 # - ####################### + ###################### + # 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