Comparing version 4.2.2 to 4.2.3
@@ -0,1 +1,5 @@ | ||
#### 4.3.3 | ||
- Fix passing options in `execCommand` | ||
#### 4.2.2 | ||
@@ -2,0 +6,0 @@ |
@@ -204,3 +204,3 @@ 'use strict'; | ||
return new Promise(function (resolve, reject) { | ||
connection.exec(command, Helpers.generateCallback(function (stream) { | ||
connection.exec(command, options.options || {}, Helpers.generateCallback(function (stream) { | ||
stream.on('data', function (chunk) { | ||
@@ -219,3 +219,3 @@ output.stdout.push(chunk); | ||
}); | ||
}, reject), options.options || {}); | ||
}, reject)); | ||
}); | ||
@@ -222,0 +222,0 @@ }); |
{ | ||
"name": "node-ssh", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"description": "SS2 with Promises", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
"eslint-config-steelbrain": "^3.0.1", | ||
"flow-bin": "^0.44.0", | ||
"flow-bin": "^0.46.0", | ||
"jasmine-fix": "^1.0.1", | ||
@@ -39,0 +39,0 @@ "pty.js": "^0.3.1", |
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
33144