cleanup and fix ci

This commit is contained in:
2026-01-10 21:52:11 -05:00
parent 1059eced53
commit c48188792d
5 changed files with 27 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ export async function generatePDF(data, outputPath = "dungeon.pdf") {
const imageData = data.map ? await readImageData(data.map) : null;
const dataWithImage = imageData
? { ...data, map: imageData }
: (({ map, ...rest }) => rest)(data);
: (({ map, ...rest }) => rest)(data); // eslint-disable-line no-unused-vars
const html = dungeonTemplate(dataWithImage);
await page.setContent(html, { waitUntil: "networkidle0" });