mirror of
https://github.com/electron/electron.git
synced 2026-01-07 22:54:25 -05:00
build: fixup release notes generation (#49302)
This commit is contained in:
committed by
GitHub
parent
46922de638
commit
c8bb700509
@@ -109,7 +109,8 @@ const runGit = async (dir: string, args: string[]) => {
|
||||
const response = spawnSync('git', args, {
|
||||
cwd: dir,
|
||||
encoding: 'utf8',
|
||||
stdio: ['inherit', 'pipe', 'pipe']
|
||||
stdio: ['inherit', 'pipe', 'pipe'],
|
||||
maxBuffer: 100 * 1024 * 1024 // 100MB buffer to handle large git outputs
|
||||
});
|
||||
if (response.status !== 0) {
|
||||
console.error(`Git command failed: git ${args.join(' ')}`);
|
||||
|
||||
Reference in New Issue
Block a user