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.
Files changed (2) hide show
  1. package/lib/modules.js +4 -9
  2. 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
- .filter((mod) => fse.existsSync(path.join(libDir, mod)))
110
- .forEach((mod) => {
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xcraft-core-utils",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "description": "Xcraft utils",
5
5
  "main": "index.js",
6
6
  "engines": {