Skip to content

Commit 3f13818

Browse files
authored
fix: refactor / inline single use code (#5859)
1 parent 221ed4f commit 3f13818

File tree

3 files changed

+92
-151
lines changed

3 files changed

+92
-151
lines changed

workspaces/arborist/lib/arborist/build-ideal-tree.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -941,15 +941,15 @@ This is a one-time fix-up, please be patient...
941941
edge,
942942
dep,
943943

944-
explicitRequest: this[_explicitRequests].has(edge),
945-
updateNames: this[_updateNames],
946944
auditReport: this.auditReport,
945+
explicitRequest: this[_explicitRequests].has(edge),
947946
force: this[_force],
948-
preferDedupe: this[_preferDedupe],
949-
strictPeerDeps: this[_strictPeerDeps],
950947
installLinks: this.installLinks,
951-
legacyPeerDeps: this.legacyPeerDeps,
952948
installStrategy: this[_installStrategy],
949+
legacyPeerDeps: this.legacyPeerDeps,
950+
preferDedupe: this[_preferDedupe],
951+
strictPeerDeps: this[_strictPeerDeps],
952+
updateNames: this[_updateNames],
953953
}))
954954

955955
const promises = []

0 commit comments

Comments
 (0)