Fix profile render when the README.md size is larger than 1024 bytes (#25270)

Backport #25131
This commit is contained in:
yp05327 authored and GitHub committed 2023-06-15 01:39:34 +00:00
1 parent 037366f93f
commit d686aa0d31
6 files changed
+114 -10

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ func testPackageCargo(t *testing.T, _ *neturl.URL) {
blob, err := commit.GetBlobByPath(path)
assert.NoError(t, err)
content, err := blob.GetBlobContent()
content, err := blob.GetBlobContent(1024)
assert.NoError(t, err)
return content