This commit is contained in:
bjorn3
2020-02-01 13:41:11 +01:00
parent 5c39311f96
commit c84897bfb7

View File

@@ -31,8 +31,8 @@ export class ColorTheme {
const scopes = typeof rule.scope === 'undefined' const scopes = typeof rule.scope === 'undefined'
? [] ? []
: typeof rule.scope === 'string' : typeof rule.scope === 'string'
? [rule.scope] ? [rule.scope]
: rule.scope; : rule.scope;
for (const scope of scopes) { for (const scope of scopes) {
res.rules.set(scope, rule.settings); res.rules.set(scope, rule.settings);
} }