Merge pull request #267778 from lilyinstarlight/fix/yay-more-fixup-yarn-lock-stuff
prefetch-yarn-deps: re-add git hash for fixup
This commit is contained in:
commit
05a19f48a9
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ const fixupYarnLock = async (lockContents, verbose) => {
|
||||||
|
|
||||||
if (verbose) console.log(`Rewriting URL ${url} for dependency ${dep}`)
|
if (verbose) console.log(`Rewriting URL ${url} for dependency ${dep}`)
|
||||||
pkg.resolved = urlToName(url)
|
pkg.resolved = urlToName(url)
|
||||||
|
if (hash)
|
||||||
|
pkg.resolved += `#${hash}`
|
||||||
|
|
||||||
return [dep, pkg]
|
return [dep, pkg]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue