diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-26 15:07:56 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:44 -0300 |
commit | d1b7f655df1918f04e013acbb4ec0eb36122c40b (patch) | |
tree | 6c6313291be69ca599c770aca9e391c698b7cae1 /src/upd8.js | |
parent | b7183b9b1553f2c051644af92b4dc19eea705826 (diff) |
search: code style cleanup (no logic changes)
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 9 |
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, |