File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,10 @@ async function transformDir(p) {
7070 const wslSubPath = path . relative ( rootDir , subPath ) . replace ( / \/ / g, '\\' ) ;
7171 const linkTargetWindowsPath = linkTarget . replace ( / \/ / g, '\\' ) ;
7272
73+ if ( linkTargetWindowsPath . endsWith ( '\\has-symbols' ) ) {
74+ console . error ( '- ' , wslSubPath , linkTargetWindowsPath ) ;
75+ }
76+
7377 if ( ( await fs . stat ( realTarget ) ) . isDirectory ( ) ) {
7478 // This is a symlink to a directory, create a dir junction.
7579 // Re-create this symlink on the Windows FS using the Windows mklink command.
@@ -82,7 +86,11 @@ async function transformDir(p) {
8286 return ;
8387 }
8488
85- parallelCopyTasks . push ( exec ( `cp -Rf ${ realTarget } ${ subPath } ` ) ) ;
89+ parallelCopyTasks . push (
90+ ( async ( ) => {
91+ await fs . cp ( realTarget , subPath , { recursive : true } ) ;
92+ } ) ( ) ,
93+ ) ;
8694 } ) ( ) ,
8795 ) ;
8896 } else if ( file . isDirectory ( ) ) {
You can’t perform that action at this time.
0 commit comments