mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 16:51:05 -05:00
prereview
This commit is contained in:
parent
727f982bf9
commit
9ec761f61c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue