Commit dca9fc3f authored by David Sveningsson's avatar David Sveningsson
Browse files

fix(config): validate preset configurations

parent da416574
Pipeline #281055656 passed with stages
in 10 minutes and 18 seconds
......@@ -359,6 +359,7 @@ export class Config {
/* builtin presets */
for (const [name, config] of Object.entries(Presets)) {
Config.validate(config, name);
configs.set(name, config);
}
......@@ -367,6 +368,8 @@ export class Config {
for (const [name, config] of Object.entries(plugin.configs || {})) {
if (!config) continue;
Config.validate(config, name);
/* add configuration with name provided by plugin */
configs.set(`${plugin.name}:${name}`, config);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment