Skip to content

Commit

Permalink
Remove dead code from optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Dec 18, 2024
1 parent 9faa545 commit bf3b6fc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/commands/optimize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -727,12 +727,6 @@ async function addOverrides(
overrides[origPkgName] = newSpec
const addedOrUpdated = overrideExists ? 'updated' : 'added'
state[addedOrUpdated].add(regPkgName)
if (workspaceName) {
const addedOrUpdatedIn = overrideExists
? 'updatedInWorkspaces'
: 'addedInWorkspaces'
state[addedOrUpdatedIn].add(workspaceName)
}
}
}
})
Expand Down

0 comments on commit bf3b6fc

Please sign in to comment.