mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:58:55 -05:00
Increase buffer size for hygiene check
I occasional see our precommit checks fail due to buffer size issues. This should fix that
This commit is contained in:
@@ -253,7 +253,7 @@ function createGitIndexVinyls(paths: string[]): Promise<VinylFile[]> {
|
||||
|
||||
cp.exec(
|
||||
process.platform === 'win32' ? `git show :${relativePath}` : `git show ':${relativePath}'`,
|
||||
{ maxBuffer: stat.size, encoding: 'buffer' },
|
||||
{ maxBuffer: Math.max(stat.size * 2, 1024 * 1024), encoding: 'buffer' },
|
||||
(err, out) => {
|
||||
if (err) {
|
||||
return e(err);
|
||||
|
||||
Reference in New Issue
Block a user