Skip to content

Commit

Permalink
Fix bug in crate publishing code
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Oct 14, 2024
1 parent 29cb542 commit 58e7f8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ci/crates.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ def helper(
) -> None:
crate = crates[name]
for dependency in crate_deps(crate.manifest):
if dependency.name == name:
continue # The crate may have itself as a dev-dependency for examples
if dependency.name not in crates:
continue
if dependency.name in visited:
Expand Down

0 comments on commit 58e7f8d

Please sign in to comment.