Skip to content

Commit 515ee5f

Browse files
authored
Update repo.go
1 parent 0a51b67 commit 515ee5f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

routers/web/repo/repo.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ func Action(ctx *context.Context) {
370370

371371
if err != nil {
372372
handleActionError(ctx, err)
373-
if ctx.Written() {
374-
return
375-
}
373+
return
376374
}
377375

378376
switch ctx.PathParam("action") {

0 commit comments

Comments
 (0)