Skip to content

Commit

Permalink
debug lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech committed Feb 14, 2024
1 parent ec60d4b commit d432918
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/go-lint-all.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
fi

0 comments on commit d432918

Please sign in to comment.