summaryrefslogtreecommitdiffstats
path: root/src/commands/tree_of.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/tree_of.rs')
-rw-r--r--src/commands/tree_of.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/tree_of.rs b/src/commands/tree_of.rs
index df3a6cf..30196b7 100644
--- a/src/commands/tree_of.rs
+++ b/src/commands/tree_of.rs
@@ -45,7 +45,7 @@ pub async fn tree_of(
})
.map(|package| {
let bar_tree_building = progressbars.bar();
- let tree = Dag::for_root_package(package.clone(), &repo, bar_tree_building.clone())?;
+ let tree = Dag::for_root_package(package.clone(), &repo, &bar_tree_building)?;
bar_tree_building.finish_with_message("Finished loading Tree");
Ok(tree)
})