bdy 1.22.14-dev → 1.22.15-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.22.14-dev",
4
+ "version": "1.22.15-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -222,6 +222,8 @@ class ServerSsh extends events_1.default {
222
222
  return;
223
223
  sessionClosed = true;
224
224
  logger_1.default.debug('ssh close session');
225
+ if (exitCode === undefined && sftp)
226
+ exitCode = 0;
225
227
  if (exitCode !== undefined) {
226
228
  session.exit(exitCode);
227
229
  session.end();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.14-dev",
4
+ "version": "1.22.15-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {