Skip to content
Snippets Groups Projects
Commit 3cfbb365 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: don’t add options with parents to defaults

parent 64a45bf6
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,9 @@ function getConfig() {
const options = configDefinitions.getOptions();
const config = {};
options.forEach(option => {
config[option.name] = getDefault(option);
if (!option.parents) {
config[option.name] = getDefault(option);
}
});
return config;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment