mirror of https://github.com/aminya/setup-cpp
fix: use md5 for hashing the installation path
This commit is contained in:
parent
801ebf86b8
commit
da284e010c
|
@ -59,7 +59,7 @@ export async function setupBin(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get an unique output directory name from the URL.
|
// 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)
|
const rootDir = join(setupCppDir, key)
|
||||||
|
|
||||||
// download ane extract the package into the installation directory.
|
// download ane extract the package into the installation directory.
|
||||||
|
|
Loading…
Reference in New Issue