diff options
Diffstat (limited to 'lib/docx-reader.js')
| -rw-r--r-- | lib/docx-reader.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/docx-reader.js b/lib/docx-reader.js index 9cb912f..0027a0a 100644 --- a/lib/docx-reader.js +++ b/lib/docx-reader.js @@ -84,19 +84,6 @@ function openZip(zipPath) { } return readDeferred.promise; - - if (exists(path)) { - return q.ninvoke(zipFile, "readFile", path) - .then(function(value) { - if (encoding) { - return value.toString(encoding); - } else { - return value; - } - }); - } else { - return q.reject(new Error("No file in zip: " + path)); - } }, exists: exists }; |
