File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,8 @@ fn compile_file(
578
578
ast_path. to_string_lossy( )
579
579
) ) ,
580
580
} ?;
581
- let basename = helpers:: file_path_to_compiler_asset_basename ( implementation_file_path, & package. namespace ) ;
581
+ let basename =
582
+ helpers:: file_path_to_compiler_asset_basename ( implementation_file_path, & package. namespace ) ;
582
583
let has_interface = module. get_interface ( ) . is_some ( ) ;
583
584
let is_type_dev = module. is_type_dev ;
584
585
let to_mjs_args = compiler_args (
@@ -635,10 +636,7 @@ fn compile_file(
635
636
ocaml_build_path_abs. join ( format ! ( "{basename}.cmi" ) ) ,
636
637
) ;
637
638
let _ = std:: fs:: copy (
638
- package
639
- . get_build_path ( )
640
- . join ( dir)
641
- . join ( format ! ( "{basename}.cmj" ) ) ,
639
+ package. get_build_path ( ) . join ( dir) . join ( format ! ( "{basename}.cmj" ) ) ,
642
640
ocaml_build_path_abs. join ( format ! ( "{basename}.cmj" ) ) ,
643
641
) ;
644
642
println ! ( "[rewatch] Copying file {basename} to ocaml build path" ) ;
@@ -661,10 +659,7 @@ fn compile_file(
661
659
ocaml_build_path_abs. join ( format ! ( "{basename}.cmti" ) ) ,
662
660
) ;
663
661
let _ = std:: fs:: copy (
664
- package
665
- . get_build_path ( )
666
- . join ( dir)
667
- . join ( format ! ( "{basename}.cmi" ) ) ,
662
+ package. get_build_path ( ) . join ( dir) . join ( format ! ( "{basename}.cmi" ) ) ,
668
663
ocaml_build_path_abs. join ( format ! ( "{basename}.cmi" ) ) ,
669
664
) ;
670
665
}
You can’t perform that action at this time.
0 commit comments