xcraft-core-utils 4.3.4 → 4.3.5
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.
- package/lib/modules.js +4 -9
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -93,10 +93,7 @@ exports.extractConfigDeps = (libDir, configJson) => {
|
|
|
93
93
|
|
|
94
94
|
Object.keys(configJson).forEach((appId) => {
|
|
95
95
|
const appCfg = configJson[appId];
|
|
96
|
-
if (
|
|
97
|
-
appCfg['xcraft-core-horde'] &&
|
|
98
|
-
fse.existsSync(path.join(libDir, 'xcraft-core-horde'))
|
|
99
|
-
) {
|
|
96
|
+
if (appCfg['xcraft-core-horde']) {
|
|
100
97
|
deps['xcraft-core-horde'] = true;
|
|
101
98
|
}
|
|
102
99
|
|
|
@@ -105,11 +102,9 @@ exports.extractConfigDeps = (libDir, configJson) => {
|
|
|
105
102
|
return;
|
|
106
103
|
}
|
|
107
104
|
|
|
108
|
-
serverCfg.modules
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
deps[mod] = true;
|
|
112
|
-
});
|
|
105
|
+
serverCfg.modules.forEach((mod) => {
|
|
106
|
+
deps[mod] = true;
|
|
107
|
+
});
|
|
113
108
|
});
|
|
114
109
|
|
|
115
110
|
if (!Object.keys(deps).length) {
|