« get me outta code hell

content: sprawl divideTrackListsByGroups - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/write/build-modes
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-05-26 10:09:16 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-05-26 10:09:16 -0300
commit6efb1212dd643dc98e71e272a1a66f042884edb9 (patch)
treeadc250ac6fc8941a48ddd1c1f1e7d641c9fdac7f /src/write/build-modes
parentf8ca7148d52d656506862bf5c89f4a00a3805534 (diff)
content: sprawl divideTrackListsByGroups
...Instead of tangling it in from generateTrackInfoPage, page/track.js,
and top-level page evaluation itself. This is why sprawling is better!
Diffstat (limited to 'src/write/build-modes')
-rw-r--r--src/write/build-modes/live-dev-server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js
index d4b7472d..3cd3ed6b 100644
--- a/src/write/build-modes/live-dev-server.js
+++ b/src/write/build-modes/live-dev-server.js
@@ -102,7 +102,7 @@ export async function go({
     }) => () =>
       targetless
         ? [pageSpec.writeTargetless({wikiData})]
-        : pageSpec.pathsForTarget(target, {wikiInfo: wikiData.wikiInfo}))).flat();
+        : pageSpec.pathsForTarget(target))).flat();
 
   logInfo`Will be serving a total of ${pages.length} pages.`;