Skip to content

Commit

Permalink
Do not ask to install pin-depends twice
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jan 22, 2025
1 parent f80c027 commit 97879ca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/client/opamAuxCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,6 @@ let autopin st ?(simulate=false) ?quiet ?locked ?recurse ?subpath
else
OpamUpdate.dev_packages st ~working_dir:OpamPackage.Set.empty already_pinned
in
let st =
if OpamClientConfig.(!r.ignore_pin_depends) then st else
OpamPackage.Set.fold (fun nv st ->
OpamPinCommand.handle_pin_depends st nv (OpamSwitchState.opam st nv))
(OpamPackage.Set.union pins already_pinned_set) st
in
st, atoms

let check_and_revert_sandboxing root config =
Expand Down

0 comments on commit 97879ca

Please sign in to comment.