fix: file exporter not working
parent
74a0ef99ec
commit
7a4962f161
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue