From d432918823508e755f9ceef3cb24d737c95f0c17 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Wed, 14 Feb 2024 08:32:56 +0000 Subject: [PATCH] debug lint --- scripts/go-lint-all.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/go-lint-all.bash b/scripts/go-lint-all.bash index 8850c65cd1..6266c6c96b 100755 --- a/scripts/go-lint-all.bash +++ b/scripts/go-lint-all.bash @@ -29,9 +29,11 @@ else fi for f in $(dirname $(echo "$GIT_DIFF" | tr -d "'") | uniq); do + echo "REPO_ROOT=$REPO_ROOT" + echo "current target: $f" echo "linting $f [$(date -Iseconds -u)]" && cd $f && - golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" && + golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" cd $REPO_ROOT done -fi \ No newline at end of file +fi