diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-03-18 17:11:55 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-03-18 17:11:55 +0000 |
| commit | fab0bf4a2bbfd8dd2219563dff702c629bd16e5b (patch) | |
| tree | b51cbb35a71334b81a3d67236a398aacae58e98a /lib/unzip.js | |
| parent | ccdf6f46ae285469ac5ef75e3590bdd7e2e81ec4 (diff) | |
Add --output-dir argument to CLI
Diffstat (limited to 'lib/unzip.js')
| -rw-r--r-- | lib/unzip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unzip.js b/lib/unzip.js index 855d2ca..ea6f710 100644 --- a/lib/unzip.js +++ b/lib/unzip.js @@ -64,7 +64,7 @@ function unzipStream(stream) { if (encoding) { return buffer.toString(encoding); } else { - return buffer; + return buffer.toBuffer(); } }); }, |
