From e31e058e632e358ec7fe0604154eeed2e4b475db Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Tue, 12 Jul 2022 11:43:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/repo/cloudbrain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index 3aa26e0ed..9cc0b5ebe 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -332,6 +332,7 @@ func CloudBrainCreate(ctx *context.Context, form auth.CreateCloudBrainForm) { if errStr != "" { cloudBrainNewDataPrepare(ctx) ctx.RenderWithErr(errStr, tpl, &form) + return } if branchName == "" {