Skip to content

Commit

Permalink
Merge pull request #49 from kpcyrd/never-collapse-root
Browse files Browse the repository at this point in the history
Never collapse dependencies of root crate, even if packaged
  • Loading branch information
kpcyrd authored Nov 5, 2024
2 parents 8e574ca + 2b12e2f commit dabee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn print_package<'a>(
let pkg_status_s = format.display(package).to_string();
println!("{}{}", treeline, pkg_status_s);

if !all && !package.show_dependencies() {
if !all && !package.show_dependencies() && !levels_continue.is_empty() {
return;
}

Expand Down

0 comments on commit dabee7f

Please sign in to comment.