Remove usage of fs plugin

pull/1/head
Flashfyre 2023-04-10 17:20:37 -04:00
parent a3084f0d32
commit 4b7ecf434e
1 changed files with 2 additions and 2 deletions

View File

@ -563,7 +563,7 @@ export function populateAnims() {
} }
} }
for (let ma of moveAnims.keys()) { /*for (let ma of moveAnims.keys()) {
const data = moveAnims.get(ma); const data = moveAnims.get(ma);
(async () => { (async () => {
await fs.writeFile(`./public/battle-anims/${Moves[ma].toLowerCase().replace(/\_/g, '-')}.json`, JSON.stringify(data, (k, v) => { await fs.writeFile(`./public/battle-anims/${Moves[ma].toLowerCase().replace(/\_/g, '-')}.json`, JSON.stringify(data, (k, v) => {
@ -574,5 +574,5 @@ export function populateAnims() {
return v; return v;
}, ' ')); }, ' '));
})(); })();
} }*/
} }