File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1057,11 +1057,11 @@ themePicker.onblur = handleThemeButtonsBlur;
10571057 all_indexes. sort ( ) ;
10581058 let mut w = try_err ! ( File :: create( & dst) , & dst) ;
10591059 try_err ! ( writeln!( & mut w, "var N = null;var searchIndex = {{}};" ) , & dst) ;
1060- for index in & all_indexes {
1061- try_err ! ( write_minify_replacer ( & mut w , & * index , options . enable_minification ,
1062- & [ ( minifier :: js :: Keyword :: Null , "N" ) ] ) ,
1063- & dst ) ;
1064- }
1060+ try_err ! ( write_minify_replacer ( & mut w ,
1061+ & all_indexes . join ( " \n " ) ,
1062+ options . enable_minification ,
1063+ & [ ( minifier :: js :: Keyword :: Null , "N" ) ] ) ,
1064+ & dst ) ;
10651065 try_err ! ( writeln!( & mut w, "initSearch(searchIndex);addSearchOptions(searchIndex);" ) , & dst) ;
10661066
10671067 if options. enable_index_page {
You can’t perform that action at this time.
0 commit comments