download: clean up Kahona (#345)

This commit is contained in:
Marwan Sulaiman
2018-07-27 18:18:14 -04:00
committed by Aaron Schlesinger
parent fd7c1326d3
commit add15e68cd
12 changed files with 65 additions and 59 deletions
+1 -1
View File
@@ -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)
}