1
0
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:
Zxilly 2024-03-19 09:05:07 +08:00
parent 68d3a9e417
commit cc15635875

View File

@ -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.