Commit 2cd2583
committed
fix: ignore
We run `hh_client` once on extension startup before starting the LSP
server because `hh_client --lsp` doesn't spawn `hh_server` if it's
not running already (facebook/hhvm#8548).
This can cause the extension to crash if there are a very large number
of errors, as the output of `hh_client` won't fit into `maxBuffer`.
Until we fix `hh_client --lsp`, let's simply instruct `hh_client`
to return no errors here because we don't actually care about the
output.hh_client output during extension init1 parent c6b14a2 commit 2cd2583
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments