Skip to content

Commit 9ba7d4b

Browse files
committed
fix print stats
1 parent 3fb1216 commit 9ba7d4b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/printCommitStats.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ function toRatioString(
7575
}
7676

7777
(async () => {
78-
const { stdout: diffContent } = await promisify(exec)('git diff origin/main', { encoding: 'utf-8' });
78+
const { stdout: diffContent } = await promisify(exec)('git diff origin/main', {
79+
encoding: 'utf-8',
80+
maxBuffer: 50 * 1024 * 1024
81+
});
7982

8083
const patches = parsePatch(diffContent);
8184

0 commit comments

Comments
 (0)