diff --git a/src/lib/converter/plugins/GitHubPlugin.ts b/src/lib/converter/plugins/GitHubPlugin.ts index ba598a5da..ec69e4da7 100644 --- a/src/lib/converter/plugins/GitHubPlugin.ts +++ b/src/lib/converter/plugins/GitHubPlugin.ts @@ -9,8 +9,14 @@ import type { Context } from "../context"; import { BindOption } from "../../utils"; import { RepositoryType } from "../../models"; +const TEN_MEGABYTES: number = 1024 * 10000; + function git(...args: string[]) { - return spawnSync("git", args, { encoding: "utf-8", windowsHide: true }); + return spawnSync("git", args, { + encoding: "utf-8", + windowsHide: true, + maxBuffer: TEN_MEGABYTES, + }); } /**