@codemoreira/esad 1.4.3 → 1.4.4
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/package.json +1 -1
- package/src/cli/commands/dev.js +2 -2
package/package.json
CHANGED
package/src/cli/commands/dev.js
CHANGED
|
@@ -56,10 +56,10 @@ module.exports = async (options) => {
|
|
|
56
56
|
console.log(chalk.cyan(`\n☁️ Starting ESAD Dev-Push for ${moduleId} (${platform})\n`));
|
|
57
57
|
|
|
58
58
|
const config = configObj ? configObj.data : null;
|
|
59
|
-
const devUrlBase = config?.
|
|
59
|
+
const devUrlBase = config?.devModeEndpoint || config?.deployEndpoint?.replace('/versions', '');
|
|
60
60
|
|
|
61
61
|
if (!devUrlBase) {
|
|
62
|
-
console.error(chalk.red(`❌ Error: 'deployEndpoint' not configured in esad.config.json.`));
|
|
62
|
+
console.error(chalk.red(`❌ Error: 'devModeEndpoint' or 'deployEndpoint' not configured in esad.config.json.`));
|
|
63
63
|
process.exit(1);
|
|
64
64
|
}
|
|
65
65
|
|