mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore: fix compile error on main (#19489)
This commit is contained in:
parent
015ea60d25
commit
82dd90f98d
1 changed files with 8 additions and 4 deletions
|
@ -2079,10 +2079,14 @@ console.log(b, "hello deno");
|
||||||
|
|
||||||
let mut urls = PreloadDocumentFinder::new(PreloadDocumentFinderOptions {
|
let mut urls = PreloadDocumentFinder::new(PreloadDocumentFinderOptions {
|
||||||
enabled_paths: vec![
|
enabled_paths: vec![
|
||||||
temp_dir.path().join("root1"),
|
temp_dir.path().to_path_buf().join("root1"),
|
||||||
temp_dir.path().join("root2").join("file1.ts"),
|
temp_dir.path().to_path_buf().join("root2").join("file1.ts"),
|
||||||
temp_dir.path().join("root2").join("main.min.ts"),
|
temp_dir
|
||||||
temp_dir.path().join("root2").join("folder"),
|
.path()
|
||||||
|
.to_path_buf()
|
||||||
|
.join("root2")
|
||||||
|
.join("main.min.ts"),
|
||||||
|
temp_dir.path().to_path_buf().join("root2").join("folder"),
|
||||||
],
|
],
|
||||||
disabled_paths: Vec::new(),
|
disabled_paths: Vec::new(),
|
||||||
limit: 1_000,
|
limit: 1_000,
|
||||||
|
|
Loading…
Reference in a new issue