Skip to content

Commit 8c040e1

Browse files
committed
Fix prune.
1 parent b3d342d commit 8c040e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

crates/app/src/commands/docker/prune.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ pub async fn prune(session: MoonSession) -> AppResult {
356356
continue;
357357
}
358358

359-
if let Ok(platform) = PlatformManager::read().get_by_toolchain(&toolchain_id) {
359+
if let Ok(platform) = PlatformManager::write().get_by_toolchain_mut(&toolchain_id) {
360+
platform.setup_toolchain().await?;
361+
360362
match platform.get_type() {
361363
PlatformType::Bun => {
362364
prune_bun(

0 commit comments

Comments
 (0)