Skip to content

Commit 50334a8

Browse files
committed
chore: wip
1 parent a18017b commit 50334a8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/launchpad/src/install-helpers.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export async function createShims(packageDir: string, installPath: string, domai
9393

9494
for (const entry of entries) {
9595
const entryPath = path.join(dir, entry.name)
96-
96+
9797
// Check if this directory contains version directories (v*)
9898
const hasVersionDirs = fs.readdirSync(entryPath, { withFileTypes: true })
9999
.some(dirent => dirent.isDirectory() && dirent.name.startsWith('v'))
@@ -116,7 +116,8 @@ export async function createShims(packageDir: string, installPath: string, domai
116116
}
117117
}
118118
}
119-
} else if (depth < 3) {
119+
}
120+
else if (depth < 3) {
120121
// Recursively scan subdirectories (limit depth to avoid infinite recursion)
121122
scanDirectory(entryPath, depth + 1)
122123
}
@@ -613,7 +614,7 @@ export async function createBuildEnvironmentScript(installPath: string): Promise
613614

614615
for (const entry of entries) {
615616
const entryPath = path.join(dir, entry.name)
616-
617+
617618
// Check if this directory contains version directories (v*)
618619
const hasVersionDirs = fs.readdirSync(entryPath, { withFileTypes: true })
619620
.some(dirent => dirent.isDirectory() && dirent.name.startsWith('v'))
@@ -660,7 +661,8 @@ export async function createBuildEnvironmentScript(installPath: string): Promise
660661
binPaths.push(binDir)
661662
}
662663
}
663-
} else if (depth < 3) {
664+
}
665+
else if (depth < 3) {
664666
// Recursively scan subdirectories (limit depth to avoid infinite recursion)
665667
scanDirectory(entryPath, depth + 1)
666668
}

0 commit comments

Comments
 (0)