« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 358bf47b..17fd7d7c 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -47,12 +47,11 @@ import {bindFind, getAllFindSpecs} from '#find';
 import {processLanguageFile, watchLanguageFile, internalDefaultStringsFile}
   from '#language';
 import {isMain, traverse} from '#node-utils';
+import {writeSearchIndex} from '#search'
 import {sortByName} from '#sort';
 import {generateURLs, urlSpec} from '#urls';
 import {identifyAllWebRoutes} from '#web-routes';
 
-import {writeSearchIndex} from '#search'
-
 import {
   colors,
   decorateTime,
@@ -1481,10 +1480,10 @@ async function main() {
       timeStart: Date.now(),
     });
 
-    const search_index_path = path.join(mediaPath, "search_index.json")
-    logInfo(`Search index: ${search_index_path}`)
+    const searchIndexPath = path.join(mediaPath, "search_index.json");
+    logInfo`Search index: ${searchIndexPath}`;
 
-    await writeSearchIndex(search_index_path, wikiData)
+    await writeSearchIndex(searchIndexPath, wikiData);
 
     Object.assign(stepStatusSummary.buildSearchIndex, {
       status: STATUS_DONE_CLEAN,