diff options
-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, }); |