diff --git a/src/main.ts b/src/main.ts index 50bbe8e4..64edd440 100644 --- a/src/main.ts +++ b/src/main.ts @@ -206,6 +206,7 @@ function listYarnBerryWorkspaces(directory: string): string[] { .execSync('yarn workspaces list --json', { cwd: directory, encoding: 'utf-8', + maxBuffer: 1024 * 1024 * 5, // 5MB }) .split('\n') for (const line of lines) { @@ -230,6 +231,7 @@ function listYarnWorkspaces(directory: string): string[] { child_process.execSync('yarn --silent --json workspaces info', { cwd: directory, encoding: 'utf-8', + maxBuffer: 1024 * 1024 * 5, // 5MB }) ).data )