diff --git a/README.md b/README.md index f6681ba..209951e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ A dagger sdk written in rust for rust. - [ ] Start MkBook on how to actually use the sdk - [ ] Update to newest upstream release - [ ] Fix bugs - - [ ] Run in conjunction with golang and other sdks + - [x] Run in conjunction with golang and other sdks - [ ] Stabilize the initial `Arc` model into something more extensible ## Examples diff --git a/crates/dagger-core/src/downloader.rs b/crates/dagger-core/src/downloader.rs index 26fdf36..ddf2bb8 100644 --- a/crates/dagger-core/src/downloader.rs +++ b/crates/dagger-core/src/downloader.rs @@ -135,20 +135,6 @@ impl Downloader { .context("failed to download CLI from archive")?; } - for file in self.cache_dir()?.read_dir()? { - if let Ok(entry) = file { - let path = entry.path(); - if path != cli_bin_path { - tracing::debug!( - path = path.display().to_string(), - cli_bin_path = cli_bin_path.display().to_string(), - "deleting existing dagger-engine" - ); - std::fs::remove_file(path)?; - } - } - } - Ok(cli_bin_path) }