From 102710947bcf11ea154fc785087c87a42437af9e Mon Sep 17 00:00:00 2001 From: keligrubb Date: Sat, 30 Aug 2025 21:55:15 -0400 Subject: [PATCH] fix linting errors --- dungeonGenerator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dungeonGenerator.js b/dungeonGenerator.js index 9f53b54..b3cd184 100644 --- a/dungeonGenerator.js +++ b/dungeonGenerator.js @@ -47,14 +47,14 @@ async function callOllama(prompt, model = "gemma3n:e4b", retries = 6, stepName = function parseList(raw) { return raw .split("\n") - .map(line => line.replace(/^\d+[\).\s-]*/, "").trim()) + .map(line => line.replace(/^\d+[).\s-]*/, "").trim()) .filter(line => line.length > 0); } function parseObjects(raw, type = "rooms") { return raw .split("\n") - .map(line => line.replace(/^\d+[\).\s-]*/, "").trim()) + .map(line => line.replace(/^\d+[).\s-]*/, "").trim()) .filter(line => line.length > 0) .map(entry => { if (type === "rooms") {