diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-03 16:22:41 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:48 -0300 |
commit | d5ec0affefaaa3c1d73a6abcfa6a3aa6abc703e4 (patch) | |
tree | e242a214121718909f0caf95277f312d0afdd54f /src | |
parent | 8190bf63ea9ae0c4f71c72e5818ce5197ec49113 (diff) |
search: writeSearchJson -> writeSearchData
Diffstat (limited to 'src')
-rw-r--r-- | src/search.js | 2 | ||||
-rwxr-xr-x | src/upd8.js | 4 |
2 files changed, 3 insertions, 3 deletions
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, }); |