ssh2-sftp-client
Advanced tools
Comparing version 9.0.0 to 9.0.1
{ | ||
"name": "ssh2-sftp-client", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"description": "ssh2 sftp client for node", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -543,3 +543,3 @@ 'use strict'; | ||
// no dst specified, return buffer of data | ||
this.debugMsg('get returning buffer of data'); | ||
this.debugMsg('get resolving buffer of data'); | ||
wtr = concat((buff) => { | ||
@@ -579,4 +579,6 @@ resolve(buff); | ||
if (typeof dst === 'string') { | ||
this.debugMsg('get: resolving with dst filename'); | ||
resolve(dst); | ||
} else { | ||
} else if (dst !== undefined) { | ||
this.debugMsg('get: resolving with writer stream object'); | ||
resolve(wtr); | ||
@@ -583,0 +585,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
219609
1783
1585
7