forked from forgejo/forgejo
Backport #27152 by @delvh A function should not return an error when it is successful. Otherwise, things like1153705341
happen… Co-authored-by: delvh <dev.lh@web.de> (cherry picked from commit25233a9bdc
)
This commit is contained in:
parent
99a93025d2
commit
dc6020645b
1 changed files with 1 additions and 1 deletions
|
@ -1312,7 +1312,7 @@ outer:
|
|||
}
|
||||
}
|
||||
|
||||
return diff, err
|
||||
return diff, nil
|
||||
}
|
||||
|
||||
// CommentAsDiff returns c.Patch as *Diff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue