aboutsummaryrefslogtreecommitdiff
path: root/lib/unzip.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-10 13:51:11 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-10 13:51:11 +0100
commit6ac4b160eab6db7cfc58cb4ede4b5142a36ff7ad (patch)
treeb31f498a005cb5ef00e5f3eda2d321535f866772 /lib/unzip.js
parent83ac75808b14862531b046f51f90014d7dea621e (diff)
Fix jshint errors
Diffstat (limited to 'lib/unzip.js')
-rw-r--r--lib/unzip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unzip.js b/lib/unzip.js
index ea6f710..e180782 100644
--- a/lib/unzip.js
+++ b/lib/unzip.js
@@ -38,7 +38,7 @@ function unzipStream(stream) {
var exists = function(path) {
return names.indexOf(path) !== -1;
- }
+ };
function readEntry(entry) {
var readDeferred = promises.defer();
@@ -51,7 +51,7 @@ function unzipStream(stream) {
.on("end", function() {
readDeferred.resolve(buffers);
})
- .on("error", readDeferred.reject.bind(readDeferred))
+ .on("error", readDeferred.reject.bind(readDeferred));
return readDeferred.promise;
}