diff --git a/src/commands/optimize.ts b/src/commands/optimize.ts index e8f1b23..03a3189 100644 --- a/src/commands/optimize.ts +++ b/src/commands/optimize.ts @@ -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) - } } } })