« get me outta code hell

write: actually incorporate universalUtilities /eyeroll - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-09-12 14:40:33 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-09-12 14:40:33 -0300
commit7d0d37740483666dffcd0603c211bf3f2ff6bdce (patch)
treeb03d34fd0d4c7be62e00b151b89482e241477308 /src
parent60e4765616e231fa67aa8174ce7e00837d646778 (diff)
write: actually incorporate universalUtilities /eyeroll
Diffstat (limited to 'src')
-rw-r--r--src/write/build-modes/live-dev-server.js8
-rw-r--r--src/write/build-modes/static-build.js11
2 files changed, 6 insertions, 13 deletions
diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js
index c0b8c800..42a4ab74 100644
--- a/src/write/build-modes/live-dev-server.js
+++ b/src/write/build-modes/live-dev-server.js
@@ -126,18 +126,14 @@ const getContentType = extname => ({
 export async function go({
   cliOptions,
 
+  universalUtilities,
+
   defaultLanguage,
   languages,
-  missingImagePaths,
-  srcRootPath,
-  thumbsCache,
   urls,
   webRoutes,
   wikiData,
 
-  developersComment: _developersComment,
-  getSizeOfAdditionalFile,
-  getSizeOfImagePath,
   niceShowAggregate,
 }) {
   const showError = (error) => {
diff --git a/src/write/build-modes/static-build.js b/src/write/build-modes/static-build.js
index 3f829ada..d40e1cb7 100644
--- a/src/write/build-modes/static-build.js
+++ b/src/write/build-modes/static-build.js
@@ -110,21 +110,18 @@ export function getCLIOptions() {
 
 export async function go({
   cliOptions,
-  mediaPath,
   queueSize,
 
+  universalUtilities,
+
+  mediaPath,
+
   defaultLanguage,
   languages,
-  missingImagePaths,
-  srcRootPath,
-  thumbsCache,
   urls,
   webRoutes,
   wikiData,
 
-  developersComment: _developersComment,
-  getSizeOfAdditionalFile,
-  getSizeOfImagePath,
   niceShowAggregate,
 }) {
   const outputPath = cliOptions['out-path'] || process.env.HSMUSIC_OUT;