From 3e4ef00f4a8436de179ee565af2409b87ee19c94 Mon Sep 17 00:00:00 2001 From: daimond113 Date: Fri, 24 Jan 2025 23:45:26 +0100 Subject: [PATCH] chore: fix formatting --- src/linking/incremental.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/linking/incremental.rs b/src/linking/incremental.rs index 390e1b3..bf352f9 100644 --- a/src/linking/incremental.rs +++ b/src/linking/incremental.rs @@ -154,7 +154,13 @@ impl Project { let manifest = self.deser_manifest().await?; let used_paths = graph .iter() - .map(|(id, node)| node.node.container_folder(id).parent().unwrap().to_path_buf()) + .map(|(id, node)| { + node.node + .container_folder(id) + .parent() + .unwrap() + .to_path_buf() + }) .collect::>(); let used_paths = Arc::new(used_paths); @@ -249,7 +255,7 @@ impl Project { while let Some(task) = tasks.join_next().await { task.unwrap()?; } - + remove_empty_dir(&scripts_dir).await?; Ok(())