diff --git a/src/vs/workbench/contrib/terminal/common/environmentVariableCollection.ts b/src/vs/workbench/contrib/terminal/common/environmentVariableCollection.ts index dd445c8138ffb5b9deb67659e3be09bb7e8ad078..cb79fe678a9d183850fb049d3a29142c8f276c5d 100644 --- a/src/vs/workbench/contrib/terminal/common/environmentVariableCollection.ts +++ b/src/vs/workbench/contrib/terminal/common/environmentVariableCollection.ts @@ -105,8 +105,8 @@ function getMissingMutatorsFromArray( } // Create a map to help - const otherMutatorExtensions = new Map(); - other.forEach(m => otherMutatorExtensions.set(m.extensionIdentifier, true)); + const otherMutatorExtensions = new Set(); + other.forEach(m => otherMutatorExtensions.add(m.extensionIdentifier)); // Find entries removed from other const result: IExtensionOwnedEnvironmentVariableMutator[] = [];