silphscope 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -62,6 +62,7 @@ export async function renderMon(monName, mons, reader, rom, options = {}) {
|
|
|
62
62
|
const width = 64;
|
|
63
63
|
const height = 64;
|
|
64
64
|
if (outputDir) {
|
|
65
|
+
const dir = `${outputDir}/${monName}`; // why do I forget the simplest things...
|
|
65
66
|
await fs.promises.mkdir(dir, { recursive: true }); // why was I using existsSync... eh well "fixed?" now I guess... also I moved this out of the loop as you can see so it only has to run... 440 times now... instead of 4x that number :p
|
|
66
67
|
}
|
|
67
68
|
for (const side of sides) {
|