We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a9f96 commit 92a11f7Copy full SHA for 92a11f7
1 file changed
src/utils/parser/officeParser.ts
@@ -114,7 +114,7 @@ function extractFiles(
114
const extractedFiles: ExtractedFiles[] = [];
115
const processZipfile = async (entry: Entry) => {
116
if (filterFn(entry.filename)) {
117
- if (entry.getData) {
+ if ("getData" in entry && typeof entry.getData === "function") {
118
const data = await entry.getData(new BlobWriter());
119
extractedFiles.push({
120
filename: entry.filename,
0 commit comments