File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1- 7.4 .0
1+ 7.6 .0
Original file line number Diff line number Diff line change @@ -70,6 +70,13 @@ async function transformDir(p) {
7070 const wslSubPath = path . relative ( rootDir , subPath ) . replace ( / \/ / g, '\\' ) ;
7171 const linkTargetWindowsPath = linkTarget . replace ( / \/ / g, '\\' ) ;
7272
73+ if (
74+ linkTargetWindowsPath . endsWith ( '\\has-symbols' ) ||
75+ linkTargetWindowsPath . endsWith ( '\\pino-std-serializers' )
76+ ) {
77+ console . error ( '- ' , wslSubPath , linkTargetWindowsPath ) ;
78+ }
79+
7380 if ( ( await fs . stat ( realTarget ) ) . isDirectory ( ) ) {
7481 // This is a symlink to a directory, create a dir junction.
7582 // Re-create this symlink on the Windows FS using the Windows mklink command.
@@ -82,7 +89,11 @@ async function transformDir(p) {
8289 return ;
8390 }
8491
85- parallelCopyTasks . push ( exec ( `cp -Rf ${ realTarget } ${ subPath } ` ) ) ;
92+ parallelCopyTasks . push (
93+ ( async ( ) => {
94+ await fs . cp ( realTarget , subPath , { recursive : true } ) ;
95+ } ) ( ) ,
96+ ) ;
8697 } ) ( ) ,
8798 ) ;
8899 } else if ( file . isDirectory ( ) ) {
You can’t perform that action at this time.
0 commit comments