fix: use md5 for hashing the installation path

This commit is contained in:
Amin Yahyaabadi 2021-09-17 14:02:47 -05:00
parent 801ebf86b8
commit da284e010c
1 changed files with 1 additions and 1 deletions

View File

@ -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.