@worktile/theia 13.0.21 → 13.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1112,7 +1112,12 @@ const mergeOptions = (plugin, override) => {
|
|
|
1112
1112
|
continue;
|
|
1113
1113
|
}
|
|
1114
1114
|
if (isObject(override.options[option]) && newOptions[option]) {
|
|
1115
|
-
|
|
1115
|
+
if (typeof newOptions[option] === 'function') {
|
|
1116
|
+
newOptions[option] = override.options[option];
|
|
1117
|
+
}
|
|
1118
|
+
else {
|
|
1119
|
+
newOptions[option] = assign(newOptions[option], override.options[option]);
|
|
1120
|
+
}
|
|
1116
1121
|
continue;
|
|
1117
1122
|
}
|
|
1118
1123
|
newOptions[option] = override.options[option];
|