Skip to content

Commit 06b9abb

Browse files
committed
staticcheck: update go build
Signed-off-by: Rui Chen <[email protected]>
1 parent ca52013 commit 06b9abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/s/staticcheck.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Staticcheck < Formula
1919
depends_on "go"
2020

2121
def install
22-
system "go", "build", *std_go_args, "./cmd/staticcheck"
22+
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/staticcheck"
2323
end
2424

2525
test do

0 commit comments

Comments
 (0)