Skip to content

Commit 3921b59

Browse files
adonovangopherbot
authored andcommitted
cmd/gorename: remove replace directive
This makes it so that 'go install golang.org/x/tools/cmd/gorename@latest' will continue to work. ('go install pkg@version' does not allow replace directives.) Updates golang/go#69360 Change-Id: I46a16a5d8dc7d1d1cf6c428388484e27f266f4e2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/614635 Auto-Submit: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent d09d36b commit 3921b59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/gorename/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module golang.org/x/tools/cmd/gorename
22

33
go 1.22.0
44

5-
require golang.org/x/tools v0.13.0
5+
require golang.org/x/tools v0.25.1-0.20240919230923-d09d36b49f6c
66

77
require golang.org/x/mod v0.21.0 // indirect
8-
9-
replace golang.org/x/tools => ../../

cmd/gorename/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
22
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
33
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
44
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
5+
golang.org/x/tools v0.25.1-0.20240919230923-d09d36b49f6c h1:4OChDz9Q3jwLY9TNd4z5RUY/wxEbWtWBscwV6T58Soc=
6+
golang.org/x/tools v0.25.1-0.20240919230923-d09d36b49f6c/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=

0 commit comments

Comments
 (0)