mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
download: clean up Kahona (#345)
This commit is contained in:
committed by
Aaron Schlesinger
parent
fd7c1326d3
commit
add15e68cd
@@ -109,8 +109,8 @@ func getSources(goBinaryName string, fs afero.Fs, gopath, repoRoot, module, vers
|
||||
|
||||
o, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
// github quota exceeded
|
||||
errMsg := fmt.Sprintf("%v : %s", err, o)
|
||||
// github quota exceeded
|
||||
if isLimitHit(o) {
|
||||
return packagePath, errors.E("module.getSources", errMsg, errors.KindRateLimit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user