summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-06-13 17:11:29 -0400
committerGitHub <noreply@github.com>2023-06-13 21:11:29 +0000
commit82dd90f98d6817caadcb9b6bd81aba80b2ee848d (patch)
tree236a52847f7f920c296c2fa1693488c962c3c933 /cli
parent015ea60d25a3c773fc9d9bf17fc904de236814f9 (diff)
chore: fix compile error on main (#19489)
Diffstat (limited to 'cli')
-rw-r--r--cli/lsp/documents.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs
index 1f0487296..cd2ea9295 100644
--- a/cli/lsp/documents.rs
+++ b/cli/lsp/documents.rs
@@ -2079,10 +2079,14 @@ console.log(b, "hello deno");
let mut urls = PreloadDocumentFinder::new(PreloadDocumentFinderOptions {
enabled_paths: vec![
- temp_dir.path().join("root1"),
- temp_dir.path().join("root2").join("file1.ts"),
- temp_dir.path().join("root2").join("main.min.ts"),
- temp_dir.path().join("root2").join("folder"),
+ temp_dir.path().to_path_buf().join("root1"),
+ temp_dir.path().to_path_buf().join("root2").join("file1.ts"),
+ temp_dir
+ .path()
+ .to_path_buf()
+ .join("root2")
+ .join("main.min.ts"),
+ temp_dir.path().to_path_buf().join("root2").join("folder"),
],
disabled_paths: Vec::new(),
limit: 1_000,