Skip to content

Commit

Permalink
fix: Error: spawnSync git ENOBUFS
Browse files Browse the repository at this point in the history
  • Loading branch information
numandev1 committed Feb 3, 2021
1 parent 50f73bd commit 0c0f587
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/makePatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export function makePatch({
spawnSafeSync("git", args, {
cwd: tmpRepo.name,
env: { ...process.env, HOME: tmpRepo.name },
maxBuffer: 1024 * 1024 * 100,
})

// remove nested node_modules just to be safe
Expand Down

0 comments on commit 0c0f587

Please sign in to comment.