Skip to content

Commit 9634608

Browse files
committed
fix: fix finding bin file in the cache
1 parent ec22e02 commit 9634608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/setup/setupBin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export async function setupBin(
5858
if (dir) {
5959
const installDir = join(dir, extractedFolderName)
6060
const binDir = join(installDir, binRelativeDir)
61-
if (existsSync(binDir) && existsSync(join(binRelativeDir, binFileName))) {
61+
if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {
6262
info(`${name} ${version} was found in the cache.`)
6363
addPath(binDir)
6464
return { installDir, binDir }

0 commit comments

Comments
 (0)