mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
cmd/go/internal/mvs: remove useless type assertion
Change-Id: Ifdb351193cab1c0b905a1cde17993231f849644c Reviewed-on: https://go-review.googlesource.com/c/go/+/436700 Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
2fedd335f0
commit
fdcaae5734
|
@ -166,7 +166,7 @@ func buildList(targets []module.Version, reqs Reqs, upgrade func(module.Version)
|
|||
}
|
||||
return false
|
||||
}
|
||||
return nil, NewBuildListError(err.(error), errPath, isUpgrade)
|
||||
return nil, NewBuildListError(err, errPath, isUpgrade)
|
||||
}
|
||||
|
||||
// The final list is the minimum version of each module found in the graph.
|
||||
|
|
Loading…
Reference in a new issue