There was an error while loading. Please reload this page.
1 parent de51088 commit 36e6c01Copy full SHA for 36e6c01
lib/install/deps.js
@@ -76,7 +76,7 @@ function doesChildVersionMatch (child, requested, requestor) {
76
if (childReq.rawSpec === requested.rawSpec) return true
77
if (childReq.type === requested.type) {
78
if (childReq.saveSpec === requested.saveSpec) return true
79
- if (childReq.fetchSpec === requested.fetchSpec) return true
+ if ((childReq.fetchSpec === requested.fetchSpec) && requested.type !== 'git') return true
80
}
81
82
// If _requested didn't exist OR if it didn't match then we'll try using
0 commit comments