diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-04-12 00:17:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 01:17:10 +0200 |
commit | f358ae627843182fb6aad69dae74f6d29788956b (patch) | |
tree | b955ef5495bd7c7705aa9dbc909966962d44015f /cli/lsp/diagnostics.rs | |
parent | ade0cd5e97e25896457624a0ec6bf524a5fa5c20 (diff) |
fix(inspector): don't panic if port is not free (#22745)
Closes https://github.com/denoland/deno/issues/22113
Closes https://github.com/denoland/deno/issues/23177
Closes https://github.com/denoland/deno/issues/22883
Closes https://github.com/denoland/deno/issues/22377
Diffstat (limited to 'cli/lsp/diagnostics.rs')
-rw-r--r-- | cli/lsp/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs index 13bb04ac3..71c34bdbe 100644 --- a/cli/lsp/diagnostics.rs +++ b/cli/lsp/diagnostics.rs @@ -1692,7 +1692,7 @@ let c: number = "a"; let cache = Arc::new(GlobalHttpCache::new(cache_location, RealDenoCacheEnv)); let ts_server = TsServer::new(Default::default(), cache); - ts_server.start(None); + ts_server.start(None).unwrap(); // test enabled { |