diff options
author | 赵智超 <1012112796@qq.com> | 2020-08-04 04:50:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 23:50:29 +0300 |
commit | 3585bb73efcd74454cf123de85fa6e67d34001ec (patch) | |
tree | d3966fad8c57dce13071ff1b5ef2aa8a5f6b1999 /routers | |
parent | 4d9f59a45d9d5e762584e213f51937291510d323 (diff) | |
download | gitea-3585bb73efcd74454cf123de85fa6e67d34001ec.tar.gz gitea-3585bb73efcd74454cf123de85fa6e67d34001ec.zip |
fix a small nit (#12420)
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/pull.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index ebc4439dda..60326db03a 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -715,6 +715,7 @@ func UpdatePullRequest(ctx *context.Context) { } ctx.Flash.Error(err.Error()) ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(issue.Index)) + return } time.Sleep(1 * time.Second) |