Skip to content

Commit

Permalink
Merge pull request #110 from ish-hcc/fix_golangci-lint
Browse files Browse the repository at this point in the history
Makefile: Fix golangci-lint compatibility issue
  • Loading branch information
yunkon-kim authored Aug 19, 2024
2 parents 5c63306 + 6aa96f7 commit ae2f83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependency: ## Get dependencies
lint: dependency ## Lint the files
@echo "Running linter..."
@if [ ! -f "$(GOPATH)/bin/golangci-lint" ] && [ ! -f "$(shell go env GOROOT)/bin/golangci-lint" ]; then \
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@latest; \
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1; \
fi
@golangci-lint run -E contextcheck -D unused
@echo "Linter finished!"
Expand Down

0 comments on commit ae2f83b

Please sign in to comment.