Skip to content

Commit

Permalink
Fix semver usage in updater code
Browse files Browse the repository at this point in the history
  • Loading branch information
Raytwo committed May 27, 2022
1 parent 4d8aa07 commit eca096a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -318,7 +318,7 @@ pub fn main() {
.stack_size(0x40000)
.spawn(|| {
// Changed to pre because prerelease doesn't compile
if !Version::from_str(env!("CARGO_PKG_VERSION")).unwrap().pre.is_empty() {
if !semver::Version::from_str(env!("CARGO_PKG_VERSION")).unwrap().pre.is_empty() {
update::check_for_updates(config::beta_updates(), |_update_kind| true);
}

Expand Down

0 comments on commit eca096a

Please sign in to comment.