mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
fps: allow empty file
This commit is contained in:
1 parent
be0423fe93
commit
40edf9ab3a
1 file changed
+1
-1
@@ -70,7 +70,7 @@ class FpsProblemImportHandler extends Handler {
|
||||
let c = node;
|
||||
if (node.$?.name) {
|
||||
id = node.$.name;
|
||||
c = node._;
|
||||
c = node._ || '';
|
||||
}
|
||||
tasks.push(ProblemModel.addTestdata(domainId, pid, `${id}.${ext}`, Buffer.from(c)));
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user