File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,11 +189,11 @@ let output_ninja_and_namespace_map
189
189
let bs_groups = Array. init (number_of_dev_groups + 1 ) (fun i -> String_map. empty) in
190
190
let source_dirs = Array. init (number_of_dev_groups + 1 ) (fun i -> [] ) in
191
191
let static_resources =
192
- List. fold_left (fun acc_resources ({Bsb_parse_sources. sources; dir; resources; dir_index} ) ->
192
+ List. fold_left (fun ( acc_resources : string list ) ({Bsb_parse_sources. sources; dir; resources; dir_index} ) ->
193
193
let dir_index = (dir_index :> int ) in
194
194
bs_groups.(dir_index) < - merge_module_info_map bs_groups.(dir_index) sources ;
195
195
source_dirs.(dir_index) < - dir :: source_dirs.(dir_index);
196
- Ext_list. map_append (fun x -> dir// x) resources resources
196
+ Ext_list. map_append (fun x -> dir// x) resources acc_resources
197
197
) [] bs_file_groups in
198
198
let lib = bs_groups.((Bsb_dir_index. lib_dir_index :> int )) in
199
199
has_reason_files := Bsb_db. sanity_check lib || ! has_reason_files;
Original file line number Diff line number Diff line change @@ -12566,7 +12566,7 @@ let output_ninja_and_namespace_map
12566
12566
let bs_groups = Array. init (number_of_dev_groups + 1 ) (fun i -> String_map. empty) in
12567
12567
let source_dirs = Array. init (number_of_dev_groups + 1 ) (fun i -> [] ) in
12568
12568
let static_resources =
12569
- List. fold_left (fun acc_resources ({Bsb_parse_sources. sources; dir; resources; dir_index} ) ->
12569
+ List. fold_left (fun ( acc_resources : string list ) ({Bsb_parse_sources. sources; dir; resources; dir_index} ) ->
12570
12570
let dir_index = (dir_index :> int ) in
12571
12571
bs_groups.(dir_index) < - merge_module_info_map bs_groups.(dir_index) sources ;
12572
12572
source_dirs.(dir_index) < - dir :: source_dirs.(dir_index);
You can’t perform that action at this time.
0 commit comments