Add missing return

pull/977/head
Daniel Wagner-Hall 9 years ago
parent b46f0e30b8
commit 6922850643

@ -178,6 +178,7 @@ func (s *server) serveSpec(w http.ResponseWriter, req *http.Request) {
originHead, err := s.getSHAOf("origin/master")
if err != nil {
writeError(w, 500, err)
return
}
sha = originHead
} else {

Loading…
Cancel
Save