This website works better with JavaScript.
Home
Explore
Help
Sign In
abunchtell
/
gopkg
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Activity
Browse Source
Add missing return statement.
Caused a panic when repo could not be reached.
master
GeertJohan
10 years ago
parent
22ed8eb873
commit
ca4ee5569f
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
main.go
+ 1
- 0
main.go
View File
@@ -211,6 +211,7 @@ func nameHasVersion(repo *Repo) chan bool {
resp, err := http.Head(repo.HubRoot + "-" + repo.Version.String() + refsSuffix)
if err != nil {
ch <- false
return
}
if resp.Body != nil {
resp.Body.Close()
Write
Preview
Loading…
Cancel
Save