bdy 1.18.23-dev → 1.18.24-beta

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.23-dev",
4
+ "version": "1.18.24-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -138,6 +138,10 @@ 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, result.ssh_host, result.ssh_port));
141
+ output_1.default.green((0, texts_1.TXT_SANDBOX_CREATED)(result.identifier));
142
+ output_1.default.normal(result.html_url);
143
+ output_1.default.cyan(`ssh ${result.ssh_host} -p ${result.ssh_port}`);
144
+ //
145
+ output_1.default.exitNormal();
142
146
  });
143
147
  exports.default = commandSandboxCreate;
@@ -588,14 +588,7 @@ 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, 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
- };
591
+ const TXT_SANDBOX_CREATED = (identifier) => `Sandbox created: ${identifier}`;
599
592
  exports.TXT_SANDBOX_CREATED = TXT_SANDBOX_CREATED;
600
593
  const TXT_SANDBOX_UPDATED = (identifier, htmlUrl) => htmlUrl
601
594
  ? `Sandbox updated: ${identifier}\n${htmlUrl}`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.23-dev",
4
+ "version": "1.18.24-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {