We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06d6026 commit 0701a65Copy full SHA for 0701a65
src/ops/fuelup_self.rs
@@ -113,8 +113,9 @@ pub fn self_update(force: bool) -> Result<()> {
113
)?;
114
115
let fuelup_bin = fuelup_bin();
116
+ let fuelup_version = get_bin_version(&fuelup_bin).ok();
117
- if !force && get_bin_version(&fuelup_bin).ok() == Some(download_cfg.version.clone()) {
118
+ if !force && fuelup_version >= Some(download_cfg.version.clone()) {
119
info!(
120
"Already up to date (fuelup v{})",
121
download_cfg.version.to_string()
0 commit comments