159
160
getVariableMap(scope: EnvironmentVariableScope | undefined): Map<string, IExtensionOwnedEnvironmentVariableMutator[]> {
162
>
for (const mutators of this.map.values()) {
163
>
const filteredMutators = mutators.filter(m => filterScope(m, scope));
164
>
if (filteredMutators.length > 0) {
165
>
// All of these mutators are for the same variable because they are in the same scope, hence choose anyone to form a key.
166
>
result.set(filteredMutators[0].variable, filteredMutators);
167
>
}
168
>
}
169
>
return result;
170
>
}
171
172
getDescriptionMap(scope: EnvironmentVariableScope | undefined): Map<string, string | undefined> {