We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d1e46d + fb10edb commit dc32f1aCopy full SHA for dc32f1a
src/makePatch.ts
@@ -167,6 +167,7 @@ export function makePatch({
167
spawnSafeSync("git", args, {
168
cwd: tmpRepo.name,
169
env: { ...process.env, HOME: tmpRepo.name },
170
+ maxBuffer: 1024 * 1024 * 100,
171
})
172
173
// 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