Skip to content

Commit

Permalink
Pass response text of store command to callback
Browse files Browse the repository at this point in the history
  • Loading branch information
std4lqi committed Jan 11, 2020
1 parent aab6430 commit 18b536d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ FTP.prototype._store = function(cmd, input, zcomp, cb) {
if (zcomp)
self._send('MODE S', cb, true);
else
cb();
cb(null, text);
}
}, true);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ "name": "ftp4",
"version": "0.3.12",
"version": "0.3.13",
"author": "Brian White <mscdex@mscdex.net>",
"contributors": [
"Qi Liang <liangqi@cn.ibm.com>"
Expand Down

0 comments on commit 18b536d

Please sign in to comment.