aboutsummaryrefslogtreecommitdiff
path: root/browser
diff options
context:
space:
mode:
Diffstat (limited to 'browser')
-rw-r--r--browser/unzip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/unzip.js b/browser/unzip.js
index 50cbf28..2395fb3 100644
--- a/browser/unzip.js
+++ b/browser/unzip.js
@@ -8,7 +8,7 @@ function openZip(options) {
if (options.arrayBuffer) {
return openArrayBuffer(options.arrayBuffer);
} else {
- return q.reject(new Error("Could not find file in options"));
+ return promises.reject(new Error("Could not find file in options"));
}
}