diff options
author | Nathan Fritz <fritzy@github.com> | 2022-03-15 21:10:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 21:10:04 +0300 |
commit | 0e7511d144bdb6624e4c0fdfb31b4b42ed2954c9 (patch) | |
tree | 829ee812b310c5b4e88cb465eb04b11b0310f21f /workspaces/arborist/lib | |
parent | f66290ecbbc1f766597013ed0d8e624455372de4 (diff) |
fix(arborist): _findMissingEdges missing dependency due to inconsistent path separators (#4261)
Co-authored-by: Salvador Jacobi <salvadorj@unity3d.com>
Diffstat (limited to 'workspaces/arborist/lib')
-rw-r--r-- | workspaces/arborist/lib/arborist/load-actual.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workspaces/arborist/lib/arborist/load-actual.js b/workspaces/arborist/lib/arborist/load-actual.js index c06ed8026..b04fc88f6 100644 --- a/workspaces/arborist/lib/arborist/load-actual.js +++ b/workspaces/arborist/lib/arborist/load-actual.js @@ -435,7 +435,7 @@ module.exports = cls => class ActualLoader extends cls { if (d.dummy) { // it's a placeholder, so likely would not have loaded this dep, // unless another dep in the tree also needs it. - const depPath = `${p}/node_modules/${name}` + const depPath = normalize(`${p}/node_modules/${name}`) const cached = this[_cache].get(depPath) if (!cached || cached.dummy) { depPromises.push(this[_loadFSNode]({ |