Skip to content

Commit

Permalink
Makefile: Fix golangci-lint compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Aug 19, 2024
1 parent 8b03ccb commit 6e5b626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lint: dependency ## Lint the files
go_path=`echo $$cygdrive_prefix/$$drive/$$path | sed 's@\/\/@\/@g'`; \
fi; \
if [ ! -f "$$go_path/bin/golangci-lint" ]; then \
${GO_COMMAND} install github.com/golangci/golangci-lint/cmd/golangci-lint@latest; \
${GO_COMMAND} install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1; \
fi; \
$$go_path/bin/golangci-lint run --timeout 30m -E contextcheck -E revive

Expand Down
2 changes: 1 addition & 1 deletion server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lint: dependency ## Lint the files
go_path=`echo $$cygdrive_prefix/$$drive/$$path | sed 's@\/\/@\/@g'`; \
fi; \
if [ ! -f "$$go_path/bin/golangci-lint" ]; then \
${GO_COMMAND} install github.com/golangci/golangci-lint/cmd/golangci-lint@latest; \
${GO_COMMAND} install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1; \
fi; \
$$go_path/bin/golangci-lint run --timeout 30m -E contextcheck -E revive

Expand Down

0 comments on commit 6e5b626

Please sign in to comment.