mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 06:54:37 +03:00
update to latest golang.org/x dependencies
This commit is contained in:
2
vendor/golang.org/x/tools/internal/gocommand/invoke.go
generated
vendored
2
vendor/golang.org/x/tools/internal/gocommand/invoke.go
generated
vendored
@ -141,7 +141,7 @@ func (runner *Runner) runPiped(ctx context.Context, inv Invocation, stdout, stde
|
||||
|
||||
// Wait for all in-progress go commands to return before proceeding,
|
||||
// to avoid load concurrency errors.
|
||||
for i := 0; i < maxInFlight; i++ {
|
||||
for range maxInFlight {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
return ctx.Err(), ctx.Err()
|
||||
|
Reference in New Issue
Block a user