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 66
77import  {  debug  }  from  "../../deno_ral/log.ts" ; 
88import  {  normalizePath  }  from  "../path.ts" ; 
9- import  {  getStack  }  from  "./debug.ts " ; 
9+ import  {  copy  }  from  "io/copy " ; 
1010
1111// Windows UNC paths can be mishandled by realPathSync 
1212// (see https://github.com/quarto-dev/quarto-vscode/issues/67) 
@@ -15,6 +15,11 @@ import { getStack } from "./debug.ts";
1515// resolution, and certainly not on windows that has no symlinks!) 
1616Deno . realPathSync  =  normalizePath ; 
1717
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+ 
1823// 2023-02-14: We're seeing a rare failure in Deno.makeTempFile{,Sync} with FileExists, so we're going to try 
1924// a few times to create the file. If it fails, we'll log the error and try again. 
2025// If it fails 5 times, we'll throw the error. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments