bdy 1.18.22-dev → 1.18.23-dev
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/distTs/package.json
CHANGED
|
@@ -138,6 +138,6 @@ commandSandboxCreate.action(async (options) => {
|
|
|
138
138
|
output_1.default.exitError(texts_1.ERR_SANDBOX_APPS_TIMEOUT);
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
output_1.default.exitSuccess((0, texts_1.TXT_SANDBOX_CREATED)(result.identifier, result.html_url));
|
|
141
|
+
output_1.default.exitSuccess((0, texts_1.TXT_SANDBOX_CREATED)(result.identifier, result.html_url, result.ssh_host, result.ssh_port));
|
|
142
142
|
});
|
|
143
143
|
exports.default = commandSandboxCreate;
|
package/distTs/src/texts.js
CHANGED
|
@@ -588,9 +588,14 @@ const TXT_SANDBOX_CREATING = (name, identifier) => {
|
|
|
588
588
|
return `Creating sandbox: ${name} (${identifier})`;
|
|
589
589
|
};
|
|
590
590
|
exports.TXT_SANDBOX_CREATING = TXT_SANDBOX_CREATING;
|
|
591
|
-
const TXT_SANDBOX_CREATED = (identifier, htmlUrl) =>
|
|
592
|
-
|
|
593
|
-
|
|
591
|
+
const TXT_SANDBOX_CREATED = (identifier, htmlUrl, sshHost, sshPort) => {
|
|
592
|
+
let txt = `Sandbox created: ${identifier}`;
|
|
593
|
+
if (htmlUrl)
|
|
594
|
+
txt += `\n${htmlUrl}`;
|
|
595
|
+
if (sshHost && sshPort)
|
|
596
|
+
txt += `\nssh ${sshHost} -p ${sshPort}`;
|
|
597
|
+
return txt;
|
|
598
|
+
};
|
|
594
599
|
exports.TXT_SANDBOX_CREATED = TXT_SANDBOX_CREATED;
|
|
595
600
|
const TXT_SANDBOX_UPDATED = (identifier, htmlUrl) => htmlUrl
|
|
596
601
|
? `Sandbox updated: ${identifier}\n${htmlUrl}`
|