Skip to content

Commit 4c1d8bf

Browse files
dmitshurgopherbot
authored andcommitted
cmd/go/internal/modget: remove unused base.Errorf argument
Found by the vet check that runs with 'go test cmd/go/internal/modget'. For #57001. For #60463. Change-Id: I4be94f7156724459a5c47bb9745cbb5651fb972c Reviewed-on: https://go-review.googlesource.com/c/go/+/498270 Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent a4cd365 commit 4c1d8bf

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/go/internal/modget

1 file changed

+1
-1
lines changed

src/cmd/go/internal/modget/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func parseArgs(ctx context.Context, rawArgs []string) (dropToolchain bool, queri
403403
if q.version == "none" {
404404
switch q.pattern {
405405
case "go":
406-
base.Errorf("go: cannot use go@none", q.pattern)
406+
base.Errorf("go: cannot use go@none")
407407
continue
408408
case "toolchain":
409409
dropToolchain = true

0 commit comments

Comments
 (0)