From 9ec761f61c8cbbe2746239d638c7e0bc4c9ed940 Mon Sep 17 00:00:00 2001 From: assignUser Date: Mon, 17 Aug 2020 15:34:55 +0000 Subject: [PATCH] prereview --- lib/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/worker.sh b/lib/worker.sh index 43eb8c85..c3434462 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -214,7 +214,7 @@ function LintCodebase() { # Lint the file with the updated path # ####################################### LINT_CMD=$( - cd "${GITHUB_WORKSPACE}/${DIR_NAME}" || exit + cd "${DIR_NAME}" || exit R --slave -e "errors <- lintr::lint('$FILE');print(errors);quit(save = 'no', status = if (length(errors) > 0) 1 else 0)" 2>&1 ) else