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;
1057
1057
all_indexes. sort ( ) ;
1058
1058
let mut w = try_err ! ( File :: create( & dst) , & dst) ;
1059
1059
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 ) ;
1065
1065
try_err ! ( writeln!( & mut w, "initSearch(searchIndex);addSearchOptions(searchIndex);" ) , & dst) ;
1066
1066
1067
1067
if options. enable_index_page {
You can’t perform that action at this time.
0 commit comments