We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4a809e commit 093eafeCopy full SHA for 093eafe
core.js
@@ -81,11 +81,6 @@ class FileTypeParser {
81
tokenizer.fileInfo.size = Number.MAX_SAFE_INTEGER;
82
}
83
84
- // Keep reading until EOF if the file size is unknown.
85
- if (tokenizer.fileInfo.size === undefined) {
86
- tokenizer.fileInfo.size = Number.MAX_SAFE_INTEGER;
87
- }
88
-
89
this.tokenizer = tokenizer;
90
91
await tokenizer.peekBuffer(this.buffer, {length: 12, mayBeLess: true});
0 commit comments