Comparing version 7.0.0 to 7.0.1
@@ -0,1 +1,5 @@ | ||
#### 7.0.1 | ||
* Do not include privateKey path in error message | ||
#### 7.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -121,3 +121,3 @@ "use strict"; | ||
if (error.code === 'ENOENT') { | ||
throw new Error(`config.privateKey does not exist at ${privateKey}`); | ||
throw new Error(`config.privateKey does not exist at given fs path`); | ||
} | ||
@@ -124,0 +124,0 @@ |
{ | ||
"name": "node-ssh", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "SS2 with Promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -28,3 +28,3 @@ Node-SSH - SSH2 with Promises | ||
username: 'steel', | ||
privateKey: fs.readFileSync('/home/steel/.ssh/id_rsa') | ||
privateKey: fs.readFileSync('/home/steel/.ssh/id_rsa', 'utf8') | ||
}) | ||
@@ -31,0 +31,0 @@ if you want to use the raw string as private key |
Sorry, the diff of this file is not supported yet
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
33959