core: fix problem_import error message

This commit is contained in:
undefined committed 2024-09-21 08:21:01 +08:00
1 parent 852a33633d
commit 48f3914fb4
1 file changed
+1 -1
+1 -1
View File
@@ -485,7 +485,7 @@ export class ProblemModel {
}
const files = await fs.readdir(tmpdir, { withFileTypes: true });
problems = files.filter((f) => f.isDirectory()).map((i) => i.name);
} catch (e) {
} finally {
if (options.delSource) await fs.remove(tmpdir);
}
for (const i of problems) {