no double spread

This commit is contained in:
Johannes Rieken 2020-11-12 21:53:56 +01:00
parent 8d73ce7ed2
commit df143f19b7

View file

@ -117,7 +117,7 @@ class ConfigAwareContextValuesContainer extends Context {
const cachedItems = this._values.findSuperstr(contextKey);
if (cachedItems !== undefined) {
changedKeys.push(...[...Iterable.map(cachedItems, ([key]) => key)]);
changedKeys.push(...Iterable.map(cachedItems, ([key]) => key));
this._values.deleteSuperstr(contextKey);
}