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 e7ae8b6..33772ec 100644
--- a/browser/unzip.js
+++ b/browser/unzip.js
@@ -5,7 +5,7 @@ exports.openZip = openZip;
function openZip(options) {
if (options.arrayBuffer) {
- return zipfile.openArrayBuffer(options.arrayBuffer);
+ return promises.resolve(zipfile.openArrayBuffer(options.arrayBuffer));
} else {
return promises.reject(new Error("Could not find file in options"));
}