Skip to content

Commit 8238cc1

Browse files
committed
[Docs Site] Raise maxBuffer in lastUpdated spawnSync usage
1 parent 2993fad commit 8238cc1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

patches/@astrojs+starlight+0.34.1.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,15 @@ index 6d173df..61eed80 100644
2424
{label}
2525
</a>
2626
</li>
27+
diff --git a/node_modules/@astrojs/starlight/utils/git.ts b/node_modules/@astrojs/starlight/utils/git.ts
28+
index 1536fac..94876b1 100644
29+
--- a/node_modules/@astrojs/starlight/utils/git.ts
30+
+++ b/node_modules/@astrojs/starlight/utils/git.ts
31+
@@ -72,6 +72,7 @@ export function getAllNewestCommitDate(rootPath: string, docsPath: string): [str
32+
{
33+
cwd: repoRoot,
34+
encoding: 'utf-8',
35+
+ maxBuffer: 10 * 1024 * 1024,
36+
}
37+
);
38+

0 commit comments

Comments
 (0)