Skip to content

Commit 04fe63f

Browse files
committed
move reifyPackages to private method
#8540 removed the bad tests that were hooking into this!
1 parent cec4af5 commit 04fe63f

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')
@@ -127,7 +126,7 @@ module.exports = cls => class Reifier extends cls {
127126
this.idealTree = await this[_createIsolatedTree]()
128127
}
129128
await this[_diffTrees]()
130-
await this[_reifyPackages]()
129+
await this.#reifyPackages()
131130
if (linked) {
132131
// swap back in the idealTree
133132
// so that the lockfile is preserved
@@ -266,7 +265,7 @@ module.exports = cls => class Reifier extends cls {
266265
return treeCheck(this.actualTree)
267266
}
268267

269-
async [_reifyPackages] () {
268+
async #reifyPackages () {
270269
// we don't submit the audit report or write to disk on dry runs
271270
if (this.options.dryRun) {
272271
return

0 commit comments

Comments
 (0)