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 32e52ca commit 53b1d6dCopy full SHA for 53b1d6d
src/install/mod.rs
@@ -65,7 +65,9 @@ pub fn download_prebuilt_or_cargo_install(
65
// `cargo install`, for example.
66
if let Ok(path) = which(tool.to_string()) {
67
debug!("found global {} binary at: {}", tool, path.display());
68
- if check_version(&tool, &path, version)? {
+ if check_version(&tool, &path, version)?
69
+ || env::var("SKIP_VERSION_CHECK").map_or(false, |v| v == "1")
70
+ {
71
let download = Download::at(path.parent().unwrap());
72
return Ok(Status::Found(download));
73
}
0 commit comments