@@ -93,7 +93,7 @@ export async function createShims(packageDir: string, installPath: string, domai
93
93
94
94
for ( const entry of entries ) {
95
95
const entryPath = path . join ( dir , entry . name )
96
-
96
+
97
97
// Check if this directory contains version directories (v*)
98
98
const hasVersionDirs = fs . readdirSync ( entryPath , { withFileTypes : true } )
99
99
. some ( dirent => dirent . isDirectory ( ) && dirent . name . startsWith ( 'v' ) )
@@ -116,7 +116,8 @@ export async function createShims(packageDir: string, installPath: string, domai
116
116
}
117
117
}
118
118
}
119
- } else if ( depth < 3 ) {
119
+ }
120
+ else if ( depth < 3 ) {
120
121
// Recursively scan subdirectories (limit depth to avoid infinite recursion)
121
122
scanDirectory ( entryPath , depth + 1 )
122
123
}
@@ -613,7 +614,7 @@ export async function createBuildEnvironmentScript(installPath: string): Promise
613
614
614
615
for ( const entry of entries ) {
615
616
const entryPath = path . join ( dir , entry . name )
616
-
617
+
617
618
// Check if this directory contains version directories (v*)
618
619
const hasVersionDirs = fs . readdirSync ( entryPath , { withFileTypes : true } )
619
620
. some ( dirent => dirent . isDirectory ( ) && dirent . name . startsWith ( 'v' ) )
@@ -660,7 +661,8 @@ export async function createBuildEnvironmentScript(installPath: string): Promise
660
661
binPaths . push ( binDir )
661
662
}
662
663
}
663
- } else if ( depth < 3 ) {
664
+ }
665
+ else if ( depth < 3 ) {
664
666
// Recursively scan subdirectories (limit depth to avoid infinite recursion)
665
667
scanDirectory ( entryPath , depth + 1 )
666
668
}
0 commit comments