@open-wa/wa-automate 4.23.4 → 4.23.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/dist/cli/setup.js +1 -1
- package/package.json +1 -1
package/dist/cli/setup.js
CHANGED
@@ -353,7 +353,7 @@ const cli = () => {
|
|
353
353
|
booleanDefault: undefined
|
354
354
|
});
|
355
355
|
const cliConfig = Object.assign(Object.assign(Object.assign({ sessionId: "session" }, _cli.flags), (exports.configFile(_cli.flags.config) || {})), exports.envArgs());
|
356
|
-
const PORT = cliConfig.port || process.env.PORT || 8080;
|
356
|
+
const PORT = Number(cliConfig.port || process.env.PORT || 8080);
|
357
357
|
const spinner = new events_1.Spin(cliConfig.sessionId, 'STARTUP', cliConfig === null || cliConfig === void 0 ? void 0 : cliConfig.disableSpins);
|
358
358
|
const createConfig = Object.assign({}, cliConfig);
|
359
359
|
if (cliConfig === null || cliConfig === void 0 ? void 0 : cliConfig.session) {
|
package/package.json
CHANGED