mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 12:19:32 -05:00
Refactor the tracing namespace organization
Also changes the `tracingEnabled.Mode.*` enum to a string union.
This commit is contained in:
@@ -861,7 +861,7 @@ namespace ts.server {
|
||||
? stripQuotes(commandLineTraceDir)
|
||||
: process.env.TSS_TRACE;
|
||||
if (traceDir) {
|
||||
startTracing(tracingEnabled.Mode.Server, traceDir);
|
||||
startTracing("server", traceDir);
|
||||
}
|
||||
|
||||
const ioSession = new IOSession();
|
||||
|
||||
Reference in New Issue
Block a user