Przeglądaj źródła

Fix missing return statement

master
GeertJohan 10 lat temu
rodzic
commit
d3f8a12f51
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      main.go

+ 1
- 0
main.go Wyświetl plik

@@ -139,6 +139,7 @@ func handler(resp http.ResponseWriter, req *http.Request) {
repo.Version, ok = parseVersion(m[3])
if !ok {
sendNotFound(resp, "Version %q improperly considered invalid; please warn the service maintainers.", m[3])
return
}

repo.HubRoot = repo.GitRoot


Ładowanie…
Anuluj
Zapisz