File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,12 @@ let print_rule ~nd ~prelude ~md_file ~ml_files ~dirs ~root ~requires options =
6464 in
6565 let root = match root with None -> " " | Some r -> Fmt. strf " --root=%s " r in
6666 let deps =
67- let x =
67+ match
6868 List. map (Fmt. to_to_string pp_package_deps) requires @
6969 List. map (Fmt. to_to_string pp_ml_deps) (List. combine var_names ml_files) @
7070 List. map (Fmt. to_to_string pp_dir_deps) dirs @
7171 prelude
72- in
73- match x with
72+ with
7473 | [] -> " "
7574 | s -> String. concat ~sep: " \n " (" " :: s)
7675 in
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ let required_packages t =
294294 | `Eq , "" ->
295295 Fmt. failwith " invalid `require-package` label value: requires a value"
296296 | `Eq , pkg -> pkg
297- | _ -> Fmt. failwith " invalid `env ` label value"
297+ | _ -> Fmt. failwith " invalid `require-package ` label value"
298298 in
299299 List. map f (get_labels t " require-package" )
300300
You can’t perform that action at this time.
0 commit comments