Sfoglia il codice sorgente

Merge pull request #3 from GeertJohan/master

Add missing return statement.
master
Gustavo Niemeyer 10 anni fa
parent
commit
00ff40db83
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      main.go

+ 1
- 0
main.go Vedi 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()


Caricamento…
Annulla
Salva