diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-25 16:51:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 16:51:04 -0500 |
commit | 34c14dbf995ab427a39642a478f183dd5a60005c (patch) | |
tree | 67704f2b57bd796dc8ea13ec2ae6166f92058643 /cli/lsp/cache.rs | |
parent | c6c8c91a6e4b7a2b6eed02d3e2f5db25c124d9a0 (diff) |
fix: support import map specified as data uri (#17531)
Diffstat (limited to 'cli/lsp/cache.rs')
-rw-r--r-- | cli/lsp/cache.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs index 23469a583..bad932176 100644 --- a/cli/lsp/cache.rs +++ b/cli/lsp/cache.rs @@ -55,9 +55,9 @@ pub struct CacheMetadata { } impl CacheMetadata { - pub fn new(location: &Path) -> Self { + pub fn new(cache: HttpCache) -> Self { Self { - cache: HttpCache::new(location), + cache, metadata: Default::default(), } } |