@@ -390,7 +390,7 @@ let rec
390
390
parsing_source_dir_map
391
391
{cxt with
392
392
cwd = Ext_path. concat cxt.cwd
393
- (Ext_filename . simple_convert_node_path_to_os_path x);
393
+ (Ext_path . simple_convert_node_path_to_os_path x);
394
394
traverse = true
395
395
} String_map. empty) origin
396
396
else origin
@@ -423,7 +423,7 @@ and parsing_single_source ({not_dev; dir_index ; cwd} as cxt ) (x : Ext_json_typ
423
423
else
424
424
parsing_source_dir_map
425
425
{cxt with
426
- cwd = Ext_path. concat cwd (Ext_filename . simple_convert_node_path_to_os_path dir)}
426
+ cwd = Ext_path. concat cwd (Ext_path . simple_convert_node_path_to_os_path dir)}
427
427
String_map. empty
428
428
| Obj {map} ->
429
429
let current_dir_index =
@@ -438,7 +438,7 @@ and parsing_single_source ({not_dev; dir_index ; cwd} as cxt ) (x : Ext_json_typ
438
438
let dir =
439
439
match String_map. find_opt map Bsb_build_schemas. dir with
440
440
| Some (Str{str} ) ->
441
- Ext_filename . simple_convert_node_path_to_os_path str
441
+ Ext_path . simple_convert_node_path_to_os_path str
442
442
| Some x -> Bsb_exception. config_error x " dir expected to be a string"
443
443
| None ->
444
444
Bsb_exception. config_error x
@@ -501,13 +501,13 @@ and walk_single_source cxt (x : Ext_json_types.t) =
501
501
match x with
502
502
| Str {str = dir}
503
503
->
504
- let dir = Ext_filename . simple_convert_node_path_to_os_path dir in
504
+ let dir = Ext_path . simple_convert_node_path_to_os_path dir in
505
505
walk_source_dir_map
506
506
{cxt with cwd = Ext_path. concat cxt.cwd dir } None
507
507
| Obj {map} ->
508
508
begin match String_map. find_opt map Bsb_build_schemas. dir with
509
509
| Some (Str{str} ) ->
510
- let dir = Ext_filename . simple_convert_node_path_to_os_path str in
510
+ let dir = Ext_path . simple_convert_node_path_to_os_path str in
511
511
walk_source_dir_map
512
512
{cxt with cwd = Ext_path. concat cxt.cwd dir} (String_map. find_opt map Bsb_build_schemas. subdirs)
513
513
| _ -> ()
@@ -535,7 +535,7 @@ and walk_source_dir_map (cxt : walk_cxt) sub_dirs_field =
535
535
{cxt with
536
536
cwd =
537
537
Ext_path. concat cxt.cwd
538
- (Ext_filename . simple_convert_node_path_to_os_path f);
538
+ (Ext_path . simple_convert_node_path_to_os_path f);
539
539
traverse = true
540
540
} None
541
541
end
0 commit comments