buddy-tunnel
Advanced tools
Comparing version 1.7.7-dev to 1.7.8-dev
{ | ||
"name": "buddy-tunnel", | ||
"preferGlobal": false, | ||
"version": "1.7.7-dev", | ||
"version": "1.7.8-dev", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -237,3 +237,3 @@ const logger = require('../logger'); | ||
' ', | ||
stats.nlink || 1, | ||
(stats.nlink || 1).toString().padEnd(4), | ||
' ', | ||
@@ -240,0 +240,0 @@ stats.uid.toString().padEnd(4), |
@@ -50,3 +50,2 @@ const EventEmitter = require('events'); | ||
client.removeAllListeners(); | ||
client.end(); | ||
client = null; | ||
@@ -62,3 +61,3 @@ }); | ||
session.env = {}; | ||
session.on('close', () => { | ||
const closeSession = () => { | ||
session.removeAllListeners(); | ||
@@ -70,3 +69,6 @@ if (session.sftp) { | ||
session = null; | ||
}); | ||
if (client) client.end(); | ||
}; | ||
session.on('close', closeSession); | ||
session.on('end', closeSession); | ||
session.on('exec', (accept, reject, info) => { | ||
@@ -73,0 +75,0 @@ if (!info.command) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
349981
8304