Skip to content

Commit

Permalink
fix: fix finding bin file in the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 21, 2021
1 parent ec22e02 commit 9634608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/setup/setupBin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function setupBin(
if (dir) {
const installDir = join(dir, extractedFolderName)
const binDir = join(installDir, binRelativeDir)
if (existsSync(binDir) && existsSync(join(binRelativeDir, binFileName))) {
if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {
info(`${name} ${version} was found in the cache.`)
addPath(binDir)
return { installDir, binDir }
Expand Down

0 comments on commit 9634608

Please sign in to comment.