mirror of
https://github.com/golang/go
synced 2024-11-15 02:40:32 -07:00
cmd/go/internal/modget: remove duplicate exit
base.ExitIfErrors() has been deferred at the begin of the function, so no need to call it again
This commit is contained in:
parent
68d3a9e417
commit
cc15635875
@ -1673,7 +1673,6 @@ func (r *resolver) checkPackageProblems(ctx context.Context, pkgPatterns []strin
|
||||
base.Error(err)
|
||||
}
|
||||
}
|
||||
base.ExitIfErrors()
|
||||
}
|
||||
|
||||
// reportChanges logs version changes to os.Stderr.
|
||||
|
Loading…
Reference in New Issue
Block a user