From f9b81243db850a66b237b4b8439ea24b566619a3 Mon Sep 17 00:00:00 2001 From: assignUser Date: Mon, 17 Aug 2020 12:14:15 +0000 Subject: [PATCH] add quotes --- lib/linter.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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