From f1196a50f6ee029f612f19dd5d3d7b95b22928b5 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Mon, 15 Aug 2022 19:49:50 +0200 Subject: [PATCH] Remove npm-groovy-lint custom handling as it now accepts files as arguments (#3250) --- lib/functions/worker.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/functions/worker.sh b/lib/functions/worker.sh index 520d68cf..ef88ecaf 100755 --- a/lib/functions/worker.sh +++ b/lib/functions/worker.sh @@ -215,17 +215,6 @@ function LintCodebase() { exit $? 2>&1 ) ############################################################################### - # Corner case for groovy as we have to pass it as path and file in ant format # - ############################################################################### - elif [[ ${FILE_TYPE} == "GROOVY" ]]; then - ####################################### - # Lint the file with the updated path # - ####################################### - LINT_CMD=$( - cd "${WORKSPACE_PATH}" || exit - ${LINTER_COMMAND} --path "${DIR_NAME}" --files "$FILE_NAME" 2>&1 - ) - ############################################################################### # Corner case for R as we have to pass it to R # ############################################################################### elif [[ ${FILE_TYPE} == "R" ]]; then