diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-18 18:16:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 18:16:35 -0400 |
commit | 3bda8eb4fe059fd79a522c9277a5a872f75dc270 (patch) | |
tree | 172d04d91223694c494b754d39c44ac5851575ac /cli/lsp/completions.rs | |
parent | 1722e0aebfd830b7cbc0824ace5de0517072d0dc (diff) |
fix(lsp): support npm workspaces and fix some resolution issues (#24627)
Makes the lsp use the same code as the rest of the cli.
Diffstat (limited to 'cli/lsp/completions.rs')
-rw-r--r-- | cli/lsp/completions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs index f02ba6409..17fb0f719 100644 --- a/cli/lsp/completions.rs +++ b/cli/lsp/completions.rs @@ -804,7 +804,7 @@ mod tests { fs_sources: &[(&str, &str)], ) -> Documents { let temp_dir = TempDir::new(); - let cache = LspCache::new(Some(temp_dir.uri())); + let cache = LspCache::new(Some(temp_dir.uri().join(".deno_dir").unwrap())); let mut documents = Documents::default(); documents.update_config( &Default::default(), |