yarnConfigHook: revert "prevent yarn from resolving dependencies using git" (#489414)
This commit is contained in:
@@ -33,9 +33,7 @@ const fixupYarnLock = async (lockContents, verbose) => {
|
||||
if (hash)
|
||||
pkg.resolved += `#${hash}`
|
||||
|
||||
// Rewrite key to remove git+ prefix and .git suffix to prevent yarn git resolver
|
||||
let fixedDep = dep.replace(/@git\+/, '@').replace(/\.git(#|$)/, '$1')
|
||||
return [fixedDep, pkg]
|
||||
return [dep, pkg]
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user