Skip to content

Commit

Permalink
Add UnusableDependencies case
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Nov 29, 2023
1 parent d14bf2b commit cc055ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ impl<P: Package, VS: VersionSet> DerivationTree<P, VS> {
vs.clone()
.simplify(versions.get(&p).unwrap_or(&Vec::new()).into_iter()),
),
External::UnusableDependencies(p, vs, reason) => {
External::UnusableDependencies(
p.clone(),
vs.clone()
.simplify(versions.get(&p).unwrap_or(&Vec::new()).into_iter()),
reason.clone(),
)
}
};
DerivationTree::External(external)
}
Expand Down

0 comments on commit cc055ab

Please sign in to comment.