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.