Skip to content

Commit

Permalink
fix: refactor / inline single use code (#5859)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Nov 16, 2022
1 parent 221ed4f commit 3f13818
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 151 deletions.
10 changes: 5 additions & 5 deletions workspaces/arborist/lib/arborist/build-ideal-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,15 +941,15 @@ This is a one-time fix-up, please be patient...
edge,
dep,

explicitRequest: this[_explicitRequests].has(edge),
updateNames: this[_updateNames],
auditReport: this.auditReport,
explicitRequest: this[_explicitRequests].has(edge),
force: this[_force],
preferDedupe: this[_preferDedupe],
strictPeerDeps: this[_strictPeerDeps],
installLinks: this.installLinks,
legacyPeerDeps: this.legacyPeerDeps,
installStrategy: this[_installStrategy],
legacyPeerDeps: this.legacyPeerDeps,
preferDedupe: this[_preferDedupe],
strictPeerDeps: this[_strictPeerDeps],
updateNames: this[_updateNames],
}))

const promises = []
Expand Down
Loading

0 comments on commit 3f13818

Please sign in to comment.