File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
import { debug } from "../../deno_ral/log.ts" ;
8
8
import { normalizePath } from "../path.ts" ;
9
- import { getStack } from "./debug.ts " ;
9
+ import { copy } from "io/copy " ;
10
10
11
11
// Windows UNC paths can be mishandled by realPathSync
12
12
// (see https://github.com/quarto-dev/quarto-vscode/issues/67)
@@ -15,6 +15,11 @@ import { getStack } from "./debug.ts";
15
15
// resolution, and certainly not on windows that has no symlinks!)
16
16
Deno . realPathSync = normalizePath ;
17
17
18
+ // some of our dependencies use Deno.copy and have not been ported to Deno 2
19
+ //
20
+ // deno-lint-ignore no-explicit-any
21
+ ( Deno as any ) . copy = copy ;
22
+
18
23
// 2023-02-14: We're seeing a rare failure in Deno.makeTempFile{,Sync} with FileExists, so we're going to try
19
24
// a few times to create the file. If it fails, we'll log the error and try again.
20
25
// If it fails 5 times, we'll throw the error.
You can’t perform that action at this time.
0 commit comments