loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove repetitive words (#30091)

remove repetitive words

Signed-off-by: crazeteam <lilujing@outlook.com>
(cherry picked from commit ecbc9cee2b69cd9707acb1e23ccbca048484c460)

authored by

crazeteam and committed by
Earl Warren
3aa6f17e 11765a82

+3 -3
+1 -1
routers/api/v1/repo/file.go
··· 150 150 return 151 151 } 152 152 153 - // 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) 153 + // 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) 154 154 dataRc, err := blob.DataAsync() 155 155 if err != nil { 156 156 ctx.ServerError("DataAsync", err)
+1 -1
routers/web/repo/issue.go
··· 1600 1600 } 1601 1601 marked[issue.PosterID] = issue.ShowRole 1602 1602 1603 - // Render comments and and fetch participants. 1603 + // Render comments and fetch participants. 1604 1604 participants[0] = issue.Poster 1605 1605 for _, comment = range issue.Comments { 1606 1606 comment.Issue = issue
+1 -1
tests/e2e/e2e_test.go
··· 77 77 78 78 // 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. 79 79 func TestE2e(t *testing.T) { 80 - // Find the paths of all e2e test files in test test directory. 80 + // Find the paths of all e2e test files in test directory. 81 81 searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js") 82 82 paths, err := filepath.Glob(searchGlob) 83 83 if err != nil {