Skip to content

Commit

Permalink
sorry for closing earlier pull request #6341
Browse files Browse the repository at this point in the history
this might fix #5520
  • Loading branch information
progressive-galib authored Jan 26, 2025
1 parent 26290a4 commit 9827b3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/opamCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4409,7 +4409,9 @@ let lock cli =
let pkg_done =
OpamPackage.Set.fold (fun nv msgs ->
let opam = OpamSwitchState.opam st nv in
let locked = OpamLockCommand.lock_opam ~only_direct st opam in
let locked = try OpamLockCommand.lock_opam ~only_direct st opam
with e -> exit 1
in
let locked_fname =
OpamFilename.add_extension
(OpamFilename.of_string (OpamPackage.name_to_string nv))
Expand Down

0 comments on commit 9827b3b

Please sign in to comment.