fix: file exporter not working

main
spacemeowx2 2022-10-21 10:57:08 +08:00
parent 74a0ef99ec
commit 7a4962f161
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export class FileExporter implements BattleExporter<VsBattle> {
const isFile = await Deno.stat(filepath).then((f) => f.isFile).catch(() => const isFile = await Deno.stat(filepath).then((f) => f.isFile).catch(() =>
false false
); );
if (isFile) { if (!isFile) {
out.push(id); out.push(id);
} }
} }