Skip to content

Commit 4b643c2

Browse files
authored
Merge pull request #936 from yyzxw/chore/add-golanglint
chor: add golanglint --fix flag
2 parents 76b7240 + 8351988 commit 4b643c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/staticcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ source "hack/util.sh"
1616

1717
util::install_tools ${GOLANGCI_LINT_PKG} ${GOLANGCI_LINT_VER}
1818

19-
if golangci-lint run; then
19+
if golangci-lint run --fix --verbose; then
2020
echo 'Congratulations! All Go source files have passed staticcheck.'
2121
else
2222
echo # print one empty line, separate from warning messages.

0 commit comments

Comments
 (0)