cloudron 5.8.1 → 5.8.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.
- package/package.json +1 -1
- package/src/actions.js +4 -3
package/package.json
CHANGED
package/src/actions.js
CHANGED
|
@@ -739,7 +739,7 @@ async function configure(localOptions, cmd) {
|
|
|
739
739
|
|
|
740
740
|
// port bindings
|
|
741
741
|
if (options.portBindings) {
|
|
742
|
-
let ports
|
|
742
|
+
let ports;
|
|
743
743
|
// ask the user for port values if the ports are different in the app and the manifest
|
|
744
744
|
if (typeof options.portBindings === 'string') {
|
|
745
745
|
ports = {};
|
|
@@ -756,7 +756,7 @@ async function configure(localOptions, cmd) {
|
|
|
756
756
|
console.log('%s: %s', port, ports[port]);
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
-
data.ports =
|
|
759
|
+
data.ports = ports;
|
|
760
760
|
}
|
|
761
761
|
|
|
762
762
|
const request = createRequest('POST', `/api/v1/apps/${app.id}/configure/location`, options);
|
|
@@ -824,7 +824,8 @@ async function update(localOptions, cmd) {
|
|
|
824
824
|
await waitForFinishInstallation(app.id, response.body.taskId, options);
|
|
825
825
|
console.log('\n\nApp is updated.');
|
|
826
826
|
} catch (error) {
|
|
827
|
-
|
|
827
|
+
console.log(error);
|
|
828
|
+
exit(`\n\nApp update error: ${error.message}`);
|
|
828
829
|
}
|
|
829
830
|
}
|
|
830
831
|
|