File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ indexAndUpload();
6464async function indexAndUpload ( ) {
6565 // the page front matters are the source of truth for the static doc routes
6666 // as they are used directly by generateStaticParams() on [[..path]] page
67- const pageFrontMatters = await (
68- isDeveloperDocs ? getDevDocsFrontMatter ( ) : getDocsFrontMatter ( )
69- ) ;
67+ const pageFrontMatters = await ( isDeveloperDocs
68+ ? getDevDocsFrontMatter ( )
69+ : getDocsFrontMatter ( ) ) ;
7070 const records = await generateAlogliaRecords ( pageFrontMatters ) ;
7171 console . log ( '🔥 Generated %d new Algolia records.' , records . length ) ;
7272 const existingRecordIds = await fetchExistingRecordIds ( index ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export function getDocsRootNode(): Promise<DocNode> {
4040
4141async function getDocsRootNodeUncached ( ) : Promise < DocNode > {
4242 return frontmatterToTree (
43- await ( isDeveloperDocs ? getDevDocsFrontMatter ( ) : getDocsFrontMatter ( ) )
43+ await ( isDeveloperDocs ? getDevDocsFrontMatter ( ) : getDocsFrontMatter ( ) )
4444 ) ;
4545}
4646
You can’t perform that action at this time.
0 commit comments