This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Commit 6d3267d
authored
fix(server): Generate help message before using attempting to resolve any require statements (#1910)
The `requireOverride` resolves TSServer from the command line arguments.
The `createLogger` import will end up executing this code. As a result,
we need to parse and show the help message before the logger import or
the --help option will fail due to a failure to resolve the TS
dependency.
fixes #18991 parent e251907 commit 6d3267d
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments