Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
merge error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzy committed Sep 29, 2021
1 parent 3285397 commit 1f121b4
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions lib/arborist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,22 +103,6 @@ class Arborist extends Base {
}
for (const extra of extraneous) {
set.add(extra)
return set
}

excludeWorkspacesDependencySet (tree) {
const set = new Set()
for (const edge of tree.edgesOut.values()) {
if (edge.type !== 'workspace' && edge.to) {
set.add(edge.to)
}
}
for (const node of set) {
for (const edge of node.edgesOut.values()) {
if (edge.to) {
set.add(edge.to)
}
}
}

return set
Expand All @@ -138,6 +122,7 @@ class Arborist extends Base {
}
}
}

return set
}
}
Expand Down

0 comments on commit 1f121b4

Please sign in to comment.