File tree Expand file tree Collapse file tree
workspaces/arborist/lib/arborist Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1531,16 +1531,12 @@ module.exports = cls => class Reifier extends cls {
15311531 this . idealTree . meta . filename =
15321532 this . idealTree . realpath + '/node_modules/.package-lock.json'
15331533 this . idealTree . meta . hiddenLockfile = true
1534- const resetMeta = this . idealTree . meta && this . idealTree . meta . lockfileVersion !== defaultLockfileVersion
15351534 this . idealTree . meta . lockfileVersion = defaultLockfileVersion
15361535
15371536 this . actualTree = this . idealTree
15381537 this . idealTree = null
15391538
15401539 if ( ! this [ _global ] ) {
1541- if ( resetMeta ) {
1542- await this . actualTree . meta . reset ( )
1543- }
15441540 await this . actualTree . meta . save ( )
15451541 const ignoreScripts = ! ! this . options . ignoreScripts
15461542 // if we aren't doing a dry run or ignoring scripts and we actually made changes to the dep
You can’t perform that action at this time.
0 commit comments