Skip to content

Commit

Permalink
fix: use md5 for hashing the installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 17, 2021
1 parent 801ebf8 commit da284e0
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 @@ -59,7 +59,7 @@ export async function setupBin(
}

// Get an unique output directory name from the URL.
const key: string = await hasha.async(url)
const key: string = await hasha.async(url, { algorithm: "md5" })
const rootDir = join(setupCppDir, key)

// download ane extract the package into the installation directory.
Expand Down

0 comments on commit da284e0

Please sign in to comment.