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 87ebb48Copy full SHA for 87ebb48
src/install/mod.rs
@@ -66,6 +66,7 @@ pub fn download_prebuilt_or_cargo_install(
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)? {
69
+ if check_version(&tool, &path, version)? || env::var("SKIP_VERSION_CHECK").map_or(false, |v| v == "1") {
70
let download = Download::at(path.parent().unwrap());
71
return Ok(Status::Found(download));
72
}
0 commit comments