@open-wa/wa-automate 4.47.1 → 4.47.2

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.
@@ -61,6 +61,7 @@ const tryOpenFileAsObject = (fileLocation, needArray = false) => __awaiter(void
61
61
  else
62
62
  return;
63
63
  logging_1.log.info(`${fp} is ${res ? 'valid' : 'invalid'}`);
64
+ logging_1.log.info(`contents: ${JSON.stringify(res)}`);
64
65
  return res && Object.assign(Object.assign({}, (res || {})), { confPath: fp });
65
66
  });
66
67
  exports.tryOpenFileAsObject = tryOpenFileAsObject;
package/dist/cli/setup.js CHANGED
@@ -160,7 +160,7 @@ const configFile = (config) => __awaiter(void 0, void 0, void 0, function* () {
160
160
  yield backup();
161
161
  }
162
162
  else
163
- attempt(conf);
163
+ yield attempt(conf);
164
164
  if (!confFile)
165
165
  console.error(`Unable to read config file json: ${conf}`);
166
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.47.1",
3
+ "version": "4.47.2",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",