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
@@ -721,7 +721,7 @@ export class ProblemFilesHandler extends ProblemDetailHandler {
|
||||
throw new ValidationError('zip', null, e.message);
|
||||
}
|
||||
for (const entry of entries) {
|
||||
if (!entry.filename || entry.directory) continue;
|
||||
if (!entry.filename || entry.directory === true) continue;
|
||||
files.push({
|
||||
type,
|
||||
name: sanitize(entry.filename),
|
||||
|
||||
Reference in new issue
Block a user