w: dep: lock adm-zip to 0.5.5

This commit is contained in:
undefined committed 2021-12-21 20:41:22 +08:00
1 parent 00972003fe
commit 40c90c0574
6 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ class FpsProblemImportHandler extends Handler {
} catch { }
}
}
if (!tasks.length) throw new ValidationError('file');
if (!tasks.length) throw new ValidationError('file', null, 'No valid fps format file found');
for (const task of tasks) await this.run(domainId, task);
this.response.redirect = this.url('problem_main');
}