summaryrefslogtreecommitdiff
path: root/cli/lsp/cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/cache.rs')
-rw-r--r--cli/lsp/cache.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs
index d174907d5..8b2c85dec 100644
--- a/cli/lsp/cache.rs
+++ b/cli/lsp/cache.rs
@@ -50,13 +50,13 @@ impl CacheServer {
let _join_handle = thread::spawn(move || {
let runtime = create_basic_runtime();
runtime.block_on(async {
- let ps = ProcState::build(Flags {
+ let ps = ProcState::build(Arc::new(Flags {
cache_path: maybe_cache_path,
ca_stores: maybe_ca_stores,
ca_file: maybe_ca_file,
unsafely_ignore_certificate_errors,
..Default::default()
- })
+ }))
.await
.unwrap();
let maybe_import_map_resolver =