abler-api 0.1.58 → 0.1.59

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.
@@ -1710,12 +1710,13 @@ async function checkExEnvSetting(loadjs) {
1710
1710
  let msg = await createEnvSettingFile(fileName, envSettingEx);
1711
1711
 
1712
1712
  if (!msg) {
1713
- delete require.cache[fileName];
1714
- ppUtil$3.importExEnvSetting(conf$2._envSetting, fileName, loadjs);
1713
+ return msg;
1715
1714
  }
1716
1715
 
1717
- return msg;
1716
+ delete require.cache[fileName];
1718
1717
  }
1718
+
1719
+ ppUtil$3.importExEnvSetting(conf$2._envSetting, fileName, loadjs);
1719
1720
  }
1720
1721
  } // async function checkDatabase() {
1721
1722
  // return dbCheck.check().then(info => info.updateMessage);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abler-api",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "description": "API服务相关工具",
5
5
  "main": "./dist/cjs/pp-util.js",
6
6
  "-module": "./dist/es/pp-util.js",