File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -582,15 +582,6 @@ let run libs verbose packages_dir odoc_dir odocl_dir html_dir stats nb_workers
582
582
(fun () -> render_stats env nb_workers)
583
583
in
584
584
585
- (* List.iter *)
586
- (* (fun l -> *)
587
- (* if Astring.String.is_infix ~affix:"_odoc/./index.mld" l then *)
588
- (* Format.printf "%s\n" l) *)
589
- (* !Cmd_outputs.compile_output; *)
590
- (* List.iter *)
591
- (* (fun l -> *)
592
- (* if Astring.String.is_infix ~affix:"__driver" l then Format.printf "%s\n" l) *)
593
- (* !Cmd_outputs.link_output; *)
594
585
Format. eprintf " Final stats: %a@.%!" Stats. pp_stats Stats. stats;
595
586
Format. eprintf " Total time: %f@.%!" (Stats. total_time () );
596
587
if stats then Stats. bench_results html_dir
Original file line number Diff line number Diff line change @@ -37,11 +37,7 @@ module Path = struct
37
37
38
38
let as_filename ~is_flat (url : Url.Path.t ) =
39
39
let url_segs = for_linking ~is_flat url in
40
- let filename =
41
- match url_segs with
42
- | [] -> Fpath. v " ./"
43
- | url_segs -> Fpath. (v @@ String. concat Fpath. dir_sep @@ url_segs)
44
- in
40
+ let filename = Fpath. (v @@ String. concat Fpath. dir_sep @@ url_segs) in
45
41
filename
46
42
end
47
43
You can’t perform that action at this time.
0 commit comments