Skip to content

Commit 8d62999

Browse files
authored
Update workspaces list max buffer to 5 MB (#176)
1 parent 6e770f6 commit 8d62999

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.ts

+2
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ function listYarnBerryWorkspaces(directory: string): string[] {
206206
.execSync('yarn workspaces list --json', {
207207
cwd: directory,
208208
encoding: 'utf-8',
209+
maxBuffer: 1024 * 1024 * 5, // 5MB
209210
})
210211
.split('\n')
211212
for (const line of lines) {
@@ -230,6 +231,7 @@ function listYarnWorkspaces(directory: string): string[] {
230231
child_process.execSync('yarn --silent --json workspaces info', {
231232
cwd: directory,
232233
encoding: 'utf-8',
234+
maxBuffer: 1024 * 1024 * 5, // 5MB
233235
})
234236
).data
235237
)

0 commit comments

Comments
 (0)