Skip to content

Commit

Permalink
chore: leave a comment
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Nov 5, 2024
1 parent db5505a commit c21a662
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dune_pkg/lock_dir.ml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ let validate_packages packages =
Package_name.Map.values packages
|> List.concat_map ~f:(fun (dependant_package : Pkg.t) ->
List.filter_map dependant_package.depends ~f:(fun (loc, dependency) ->
(* CR-someday rgrinberg: do we need the dune check? aren't
we supposed to filter these upfront? *)
if Package_name.Map.mem packages dependency
|| Package_name.equal dependency Dune_dep.name
then None
Expand Down

0 comments on commit c21a662

Please sign in to comment.