mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix build
This commit is contained in:
7 files changed
+8
-6
No files matched your search
@@ -103,6 +103,7 @@ class FpsProblemImportHandler extends Handler {
|
||||
}
|
||||
for (const entry of entries) {
|
||||
try {
|
||||
if (entry.directory === true) continue;
|
||||
if (entry.uncompressedSize > SystemModel.get('import-fps.limit')) throw new FileTooLargeError();
|
||||
const content = entry.getData(new Zip.TextWriter());
|
||||
const result = await xml2js.parseStringPromise(content);
|
||||
|
||||
Reference in new issue
Block a user