Cleanup before tips

This commit is contained in:
2025-11-29 03:05:00 +01:00
parent 13cfc9b62e
commit b9b969b8ba
4 changed files with 6 additions and 36 deletions
-1
View File
@@ -1,4 +1,3 @@
import { XMLParser, XMLBuilder } from "fast-xml-parser";
import fs from "node:fs";
import path from "node:path";
+4 -9
View File
@@ -46,14 +46,9 @@ paths.forEach((_path) => {
}
}
});
fs.writeFileSync(path.join(_path, file), lines.join("\n"), {
encoding: "utf-8",
});
});
});
/*
const fd = fs.openSync("tooltips.csv", "w");
fs.writeSync(fd, "Template Name,Node ID,Tooltip\n");
objects.forEach((obj) => {
fs.writeSync(fd, `${obj.templateName},${obj.nodeID},\n`);
});
fs.closeSync(fd);
*/