Commit 80c6c4a 1 parent da6cf30 commit 80c6c4a Copy full SHA for 80c6c4a
File tree 1 file changed +0
-4
lines changed
workspaces/arborist/lib/arborist
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1531,16 +1531,12 @@ module.exports = cls => class Reifier extends cls {
1531
1531
this . idealTree . meta . filename =
1532
1532
this . idealTree . realpath + '/node_modules/.package-lock.json'
1533
1533
this . idealTree . meta . hiddenLockfile = true
1534
- const resetMeta = this . idealTree . meta && this . idealTree . meta . lockfileVersion !== defaultLockfileVersion
1535
1534
this . idealTree . meta . lockfileVersion = defaultLockfileVersion
1536
1535
1537
1536
this . actualTree = this . idealTree
1538
1537
this . idealTree = null
1539
1538
1540
1539
if ( ! this [ _global ] ) {
1541
- if ( resetMeta ) {
1542
- await this . actualTree . meta . reset ( )
1543
- }
1544
1540
await this . actualTree . meta . save ( )
1545
1541
const ignoreScripts = ! ! this . options . ignoreScripts
1546
1542
// 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