Skip to content

Commit

Permalink
Properly handle an absent version.3
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyCoolSlug committed Mar 28, 2024
1 parent 0bb3f81 commit a1ee428
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daemon/src/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3406,7 +3406,9 @@ pub fn version_newer_or_equal_to(version: &VersionNumber, comparison: VersionNum
} else {
return true;
}
} else if comparison.3.is_some() {
return false;
}

false
true
}

0 comments on commit a1ee428

Please sign in to comment.