bdy 1.22.16-dev → 1.22.17-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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.16-dev",
4
+ "version": "1.22.17-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -394,6 +394,9 @@ class ServerSsh extends events_1.default {
394
394
  sftpStream.on('error', () => {
395
395
  closeSession(1);
396
396
  });
397
+ sftpStream.on('end', () => {
398
+ closeSession(0);
399
+ });
397
400
  sftpStream.on('close', () => {
398
401
  closeSession(0);
399
402
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.16-dev",
4
+ "version": "1.22.17-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {