Skip to content

Commit

Permalink
fix(dev-deps-workspaces): adding check for if top is workspace when e…
Browse files Browse the repository at this point in the history
…xcluding packages using omit flags
  • Loading branch information
Rayyan98 committed Jun 9, 2023
1 parent 03aaa78 commit cc456c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/arborist/lib/arborist/reify.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ module.exports = cls => class Reifier extends cls {
process.emit('time', 'reify:trashOmits')

const filter = node =>
node.top.isProjectRoot &&
(node.top.isProjectRoot || node.top.isWorkspace) &&
(
node.peer && this[_omitPeer] ||
node.dev && this[_omitDev] ||
Expand Down

0 comments on commit cc456c0

Please sign in to comment.