diff --git a/exporter/file.ts b/exporter/file.ts index 983feac..6b55835 100644 --- a/exporter/file.ts +++ b/exporter/file.ts @@ -47,7 +47,7 @@ export class FileExporter implements BattleExporter { const isFile = await Deno.stat(filepath).then((f) => f.isFile).catch(() => false ); - if (isFile) { + if (!isFile) { out.push(id); } }