Skip to content

Commit 34c6e6f

Browse files
committed
fmt
1 parent 2c9a036 commit 34c6e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/editor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ func DiffPreviewPost(ctx *context.Context) {
420420
}
421421

422422
if diff.NumFiles == 0 {
423-
ctx.PlainText(http.StatusOK, `<div class="tw-p-6">` + ctx.Locale.TrString("repo.editor.no_changes_to_show") + `</div>`)
423+
ctx.PlainText(http.StatusOK, `<div class="tw-p-6">`+ctx.Locale.TrString("repo.editor.no_changes_to_show")+`</div>`)
424424
return
425425
}
426426
ctx.Data["File"] = diff.Files[0]

0 commit comments

Comments
 (0)