We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f73bd commit fb10edbCopy full SHA for fb10edb
src/makePatch.ts
@@ -158,6 +158,7 @@ export function makePatch({
158
spawnSafeSync("git", args, {
159
cwd: tmpRepo.name,
160
env: { ...process.env, HOME: tmpRepo.name },
161
+ maxBuffer: 1024 * 1024 * 100,
162
})
163
164
// remove nested node_modules just to be safe
src/spawnSafe.ts
@@ -4,6 +4,7 @@ import { SpawnOptions } from "child_process"
4
export interface SpawnSafeOptions extends SpawnOptions {
5
throwOnError?: boolean
6
logStdErrOnError?: boolean
7
+ maxBuffer?: number
8
}
9
10
const defaultOptions: SpawnSafeOptions = {
0 commit comments