Skip to content

Commit

Permalink
fix(core): change chunkify length to 50 to prevent windows crashes (#…
Browse files Browse the repository at this point in the history
…2913)

Issue 2362 requests a length of 50 as 70 was still causing issues
this pr addresses that by reducing
the length to 50

ISSUES CLOSED: #2362
  • Loading branch information
myspivey committed Apr 29, 2020
1 parent b55a1a9 commit 5cd5b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workspace/src/command-line/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function format(command: 'check' | 'write', args: yargs.Arguments) {
}

// Chunkify the patterns array to prevent crashing the windows terminal
const chunkList: string[][] = chunkify(patterns, 70);
const chunkList: string[][] = chunkify(patterns, 50);

switch (command) {
case 'write':
Expand Down

0 comments on commit 5cd5b7d

Please sign in to comment.