From 3aa6f17e1e24af50560ef1f19a64f7aa4b653492 Mon Sep 17 00:00:00 2001 From: crazeteam <164632007+crazeteam@users.noreply.github.com> Date: Tue, 26 Mar 2024 15:48:53 +0800 Subject: Remove repetitive words (#30091) remove repetitive words Signed-off-by: crazeteam (cherry picked from commit ecbc9cee2b69cd9707acb1e23ccbca048484c460) --- routers/api/v1/repo/file.go | 2 +- routers/web/repo/issue.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'routers') diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go index 72ada25ec7..712cba7455 100644 --- a/routers/api/v1/repo/file.go +++ b/routers/api/v1/repo/file.go @@ -150,7 +150,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) { return } - // OK, now the blob is known to have at most 1024 bytes we can simply read this in in one go (This saves reading it twice) + // OK, now the blob is known to have at most 1024 bytes we can simply read this in one go (This saves reading it twice) dataRc, err := blob.DataAsync() if err != nil { ctx.ServerError("DataAsync", err) diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index c0ec121336..7647e89c56 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -1600,7 +1600,7 @@ func ViewIssue(ctx *context.Context) { } marked[issue.PosterID] = issue.ShowRole - // Render comments and and fetch participants. + // Render comments and fetch participants. participants[0] = issue.Poster for _, comment = range issue.Comments { comment.Issue = issue -- cgit v1.2.3