File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 17
17
- Fix issue in JSX autocompletion where the ` key ` label would always appear.
18
18
- Fix issue in record field autocomplete not working with type aliases.
19
19
- Fix issue where autocomplete for local values would not work in the presence of ` @react.component ` annotations.
20
+ - Fix issue where the server would crash on large output produced by the binary command.
20
21
21
22
## 1.1.3
22
23
Original file line number Diff line number Diff line change @@ -142,9 +142,11 @@ export let runAnalysisAfterSanityCheck = (
142
142
if ( projectRootPath == null ) {
143
143
return null ;
144
144
}
145
- let stdout = childProcess . execFileSync ( binaryPath , args , {
145
+ let options : childProcess . ExecFileSyncOptions = {
146
146
cwd : projectRootPath ,
147
- } ) ;
147
+ maxBuffer : Infinity ,
148
+ } ;
149
+ let stdout = childProcess . execFileSync ( binaryPath , args , options ) ;
148
150
return JSON . parse ( stdout . toString ( ) ) ;
149
151
} ;
150
152
You can’t perform that action at this time.
0 commit comments