fix: remove arc

Co-authored-by: dai <contact@daimond113.com>
This commit is contained in:
Stefan 2025-04-24 20:14:18 +01:00 committed by GitHub
parent 276cd0b0bf
commit c0b2e1e14e
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -479,7 +479,6 @@ impl Project {
.map_err(errors::DownloadAndLinkError::Hook)?;
}
let graph = Arc::into_inner(graph).unwrap();
if install_dependencies_mode != InstallDependenciesMode::All || !force {
self.remove_unused(&graph).await?;