Skip to content

Commit e74c9c9

Browse files
committed
fix(config): not overwriting if field is missing
1 parent c94e365 commit e74c9c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/functions/configuration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ async function checkModuleConfig(moduleName, afterCheckEventFile = null) {
129129
}
130130
if (typeof configElement[field.field_name] === 'undefined') {
131131
configElement[field.field_name] = field.default;
132+
ow = true;
132133
return res(configElement);
133134
} else if (field.type === 'keyed' && field.disableKeyEdits) {
134135
for (const key in field.default) {

0 commit comments

Comments
 (0)