Skip to content

Commit e6afe45

Browse files
authored
fix(makefile): remove invalid @ symbol from shell commands (#2168)
Removes the @ symbol from within shell commands in check-gosec and related targets. This prevents shell errors like '/bin/sh: 2: @go: not found' during workflow runs (https://github.com/supabase/auth/actions/runs/17770297594/job/50602973582)
1 parent c77d512 commit e6afe45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ sec: check-gosec # Check for security vulnerabilities
5757

5858
check-gosec:
5959
@command -v gosec >/dev/null 2>&1 \
60-
|| @go install github.com/securego/gosec/v2/cmd/gosec@latest
60+
|| go install github.com/securego/gosec/v2/cmd/gosec@latest
6161

6262
unused: | check-staticcheck # Look for unused code
6363
@echo "Unused code:"
@@ -72,11 +72,11 @@ static: | check-staticcheck check-exhaustive
7272

7373
check-staticcheck:
7474
@command -v staticcheck >/dev/null 2>&1 \
75-
|| @go install honnef.co/go/tools/cmd/staticcheck@latest
75+
|| go install honnef.co/go/tools/cmd/staticcheck@latest
7676

7777
check-exhaustive:
7878
@command -v exhaustive >/dev/null 2>&1 \
79-
|| @go install github.com/nishanths/exhaustive/cmd/exhaustive@latest
79+
|| go install github.com/nishanths/exhaustive/cmd/exhaustive@latest
8080

8181
generate: | check-oapi-codegen
8282
go generate ./...

0 commit comments

Comments
 (0)