Skip to content

Commit d6a77b5

Browse files
committed
chore: specify updated version of stringer tool in go generate
We need a newer version to avoid panics with newer go versions, and this should also be versioned independently from go.mod Signed-off-by: justinsb <[email protected]>
1 parent 1afc74e commit d6a77b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

porch/pkg/git/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type GitRepository interface {
5858
UpdateDeletionProposedCache() error
5959
}
6060

61-
//go:generate go run golang.org/x/tools/cmd/stringer -type=MainBranchStrategy -linecomment
61+
//go:generate go run golang.org/x/tools/cmd/stringer@v0.19.0 -type=MainBranchStrategy -linecomment
6262
type MainBranchStrategy int
6363

6464
const (

0 commit comments

Comments
 (0)