Skip to content

Commit 9113c99

Browse files
committed
chore: wip
1 parent 13d31ed commit 9113c99

File tree

3 files changed

+24
-27
lines changed

3 files changed

+24
-27
lines changed

packages/launchpad/bin/cli.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,30 +1854,30 @@ cli
18541854
// Method 2: Additional scan - always check bin directory for any remaining Launchpad shims
18551855
if (fs.existsSync(binDir)) {
18561856
try {
1857-
const binFiles = fs.readdirSync(binDir, { withFileTypes: true })
1858-
.filter(dirent => dirent.isFile())
1859-
1860-
for (const file of binFiles) {
1861-
const filePath = path.join(binDir, file.name)
1862-
try {
1863-
// Read first few lines to check if it's a Launchpad shim
1864-
const content = fs.readFileSync(filePath, 'utf8')
1865-
if (content.includes('Launchpad shim')) {
1866-
// Check if we already have this binary from metadata
1867-
const alreadyTracked = binaries.some(b => b.binary === file.name)
1868-
if (!alreadyTracked) {
1869-
binaries.push({
1870-
binary: file.name,
1871-
package: 'unknown', // We don't have metadata, so package is unknown
1872-
fullPath: filePath,
1873-
})
1874-
}
1875-
}
1876-
}
1877-
catch {
1878-
// Ignore files we can't read
1879-
}
1880-
}
1857+
const binFiles = fs.readdirSync(binDir, { withFileTypes: true })
1858+
.filter(dirent => dirent.isFile())
1859+
1860+
for (const file of binFiles) {
1861+
const filePath = path.join(binDir, file.name)
1862+
try {
1863+
// Read first few lines to check if it's a Launchpad shim
1864+
const content = fs.readFileSync(filePath, 'utf8')
1865+
if (content.includes('Launchpad shim')) {
1866+
// Check if we already have this binary from metadata
1867+
const alreadyTracked = binaries.some(b => b.binary === file.name)
1868+
if (!alreadyTracked) {
1869+
binaries.push({
1870+
binary: file.name,
1871+
package: 'unknown', // We don't have metadata, so package is unknown
1872+
fullPath: filePath,
1873+
})
1874+
}
1875+
}
1876+
}
1877+
catch {
1878+
// Ignore files we can't read
1879+
}
1880+
}
18811881
}
18821882
catch {
18831883
// Ignore errors reading bin directory

packages/launchpad/src/dev/sniff.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,6 @@ export default async function sniff(dir: SimplePath | { string: string }): Promi
385385
pkgs.push({ project: 'prefix.dev', constraint, source: 'inferred' })
386386
await read_YAML_FM(path)
387387
break
388-
case 'pkgx.yml':
389-
case 'pkgx.yaml':
390388
case 'dependencies.yaml':
391389
case 'dependencies.yml':
392390
case '.dependencies.yml':

packages/launchpad/src/install.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ function resolveCriticalLibraryConflicts(packages: string[]): string[] {
4343
for (const domain of criticalLibraries) {
4444
if (packageMap.has(domain)) {
4545
const pkg = packageMap.get(domain)!
46-
const { version } = parsePackageSpec(pkg)
4746

4847
// Force OpenSSL to use 1.1.1w for maximum compatibility
4948
if (domain === 'openssl.org') {

0 commit comments

Comments
 (0)