Skip to content

Commit 78b7b9f

Browse files
committed
move reifyPackages to private method
#8540 removed the tests that were hooking into this
1 parent 71e575e commit 78b7b9f

File tree

1 file changed

+2
-3
lines changed
  • workspaces/arborist/lib/arborist

1 file changed

+2
-3
lines changed

workspaces/arborist/lib/arborist/reify.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const _rollbackRetireShallowNodes = Symbol.for('rollbackRetireShallowNodes')
5757
const _rollbackCreateSparseTree = Symbol.for('rollbackCreateSparseTree')
5858
const _rollbackMoveBackRetiredUnchanged = Symbol.for('rollbackMoveBackRetiredUnchanged')
5959
const _saveIdealTree = Symbol.for('saveIdealTree')
60-
const _reifyPackages = Symbol.for('reifyPackages')
6160

6261
// defined by build-ideal-tree mixin
6362
const _resolvedAdd = Symbol.for('resolvedAdd')
@@ -120,7 +119,7 @@ module.exports = cls => class Reifier extends cls {
120119
this.idealTree = await this[_createIsolatedTree]()
121120
}
122121
await this[_diffTrees]()
123-
await this[_reifyPackages]()
122+
await this.#reifyPackages()
124123
if (linked) {
125124
// swap back in the idealTree
126125
// so that the lockfile is preserved
@@ -259,7 +258,7 @@ module.exports = cls => class Reifier extends cls {
259258
return treeCheck(this.actualTree)
260259
}
261260

262-
async [_reifyPackages] () {
261+
async #reifyPackages () {
263262
// we don't submit the audit report or write to disk on dry runs
264263
if (this.options.dryRun) {
265264
return

0 commit comments

Comments
 (0)