We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d342d commit 8c040e1Copy full SHA for 8c040e1
1 file changed
crates/app/src/commands/docker/prune.rs
@@ -356,7 +356,9 @@ pub async fn prune(session: MoonSession) -> AppResult {
356
continue;
357
}
358
359
- if let Ok(platform) = PlatformManager::read().get_by_toolchain(&toolchain_id) {
+ if let Ok(platform) = PlatformManager::write().get_by_toolchain_mut(&toolchain_id) {
360
+ platform.setup_toolchain().await?;
361
+
362
match platform.get_type() {
363
PlatformType::Bun => {
364
prune_bun(
0 commit comments