From 7a4962f161def8cdc314fe367ffdb2b5e0c20138 Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Fri, 21 Oct 2022 10:57:08 +0800 Subject: [PATCH] fix: file exporter not working --- exporter/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }