Skip to content

Commit

Permalink
Rename opam command function
Browse files Browse the repository at this point in the history
  • Loading branch information
tmattio committed Nov 16, 2020
1 parent 8659885 commit 0156fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/external_lib_deps.ml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let all_lib_deps ~request =
|> Context_name.Map.map
~f:(Path.Source.Map.of_list_reduce ~f:Lib_deps_info.merge)

let populate_opam_command ?switch_name packages =
let opam_install_command ?switch_name packages =
let cmd =
match switch_name with
| Some name -> Printf.sprintf "opam install --switch=%s" name
Expand Down Expand Up @@ -120,7 +120,7 @@ let run ~lib_deps ~by_dir ~setup ~only_missing ~sexp =
]
~hints:
[ Dune_engine.Utils.pp_command_hint
(populate_opam_command ?switch_name required_package_names)
(opam_install_command ?switch_name required_package_names)
]);
true
) else if sexp then (
Expand Down

0 comments on commit 0156fdc

Please sign in to comment.