Explorar el Código

add missing return

Anukul Sangwan hace 4 años
padre
commit
b093ccd659
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      server/api/git_action_handler.go

+ 1 - 0
server/api/git_action_handler.go

@@ -40,6 +40,7 @@ func (app *App) HandleGenerateGitAction(w http.ResponseWriter, r *http.Request)
 			Code:   ErrReleaseReadData,
 			Errors: []string{"release not found"},
 		}, w)
+		return
 	}
 
 	form := &forms.CreateGitAction{