Skip to content

Commit ecbc9ce

Browse files
authored
Remove repetitive words (#30091)
remove repetitive words Signed-off-by: crazeteam <[email protected]>
1 parent dd75237 commit ecbc9ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

routers/api/v1/repo/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
145145
return
146146
}
147147

148-
// 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)
148+
// 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)
149149
dataRc, err := blob.DataAsync()
150150
if err != nil {
151151
ctx.ServerError("DataAsync", err)

routers/web/repo/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ func ViewIssue(ctx *context.Context) {
16011601
}
16021602
marked[issue.PosterID] = issue.ShowRole
16031603

1604-
// Render comments and and fetch participants.
1604+
// Render comments and fetch participants.
16051605
participants[0] = issue.Poster
16061606

16071607
if err := issue.Comments.LoadAttachmentsByIssue(ctx); err != nil {

tests/e2e/e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func TestMain(m *testing.M) {
7575

7676
// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" files in this directory and build a test for each.
7777
func TestE2e(t *testing.T) {
78-
// Find the paths of all e2e test files in test test directory.
78+
// Find the paths of all e2e test files in test directory.
7979
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js")
8080
paths, err := filepath.Glob(searchGlob)
8181
if err != nil {

0 commit comments

Comments
 (0)