Skip to content

Commit

Permalink
Check for version match
Browse files Browse the repository at this point in the history
  • Loading branch information
Buckram123 authored Jul 30, 2024
1 parent eedb5ec commit 9da2f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ impl Bot {
for app_info in saving_modules.modules {
let version = app_info.module.info.version.to_string();
let version_matches = semver::Version::parse(&version)
.map(|v| !ver_req.matches(&v))
.map(|v| ver_req.matches(&v))
.unwrap_or(false);
let code_id = app_info.module.reference.unwrap_app()?;

Expand Down

0 comments on commit 9da2f20

Please sign in to comment.