prefetch-yarn-deps: re-add git hash for fixup

This commit is contained in:
Lily Foster
2023-11-15 21:02:52 -05:00
parent 647a6f42ee
commit d02eb2d0e5
@@ -21,6 +21,8 @@ const fixupYarnLock = async (lockContents, verbose) => {
if (verbose) console.log(`Rewriting URL ${url} for dependency ${dep}`)
pkg.resolved = urlToName(url)
if (hash)
pkg.resolved += `#${hash}`
return [dep, pkg]
})