From d5ec0affefaaa3c1d73a6abcfa6a3aa6abc703e4 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 3 May 2024 16:22:41 -0300 Subject: search: writeSearchJson -> writeSearchData --- src/search.js | 2 +- src/upd8.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/search.js b/src/search.js index 34718b5c..dd9c0b2f 100644 --- a/src/search.js +++ b/src/search.js @@ -145,7 +145,7 @@ async function exportIndexesToJson(indexes) { return searchData; } -export async function writeSearchJson({ +export async function writeSearchData({ wikiCachePath, wikiData, }) { diff --git a/src/upd8.js b/src/upd8.js index 74f38ece..e135e056 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -47,7 +47,7 @@ import {bindFind, getAllFindSpecs} from '#find'; import {processLanguageFile, watchLanguageFile, internalDefaultStringsFile} from '#language'; import {isMain, traverse} from '#node-utils'; -import {writeSearchJson} from '#search'; +import {writeSearchData} from '#search'; import {sortByName} from '#sort'; import {generateURLs, urlSpec} from '#urls'; import {identifyAllWebRoutes} from '#web-routes'; @@ -1489,7 +1489,7 @@ async function main() { timeStart: Date.now(), }); - await writeSearchJson({ + await writeSearchData({ wikiCachePath, wikiData, }); -- cgit 1.3.0-6-gf8a5