Skip to content

Commit

Permalink
fix requiredVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 18, 2024
1 parent cd63403 commit ea638d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/config/src/model/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl Config {
let mut required_version = Version::new(0, 0, 0, None);
for property in properties {
if let Property::Entry { name, value, .. } = property {
if name.as_str().to_lowercase() == "requiredVersion" {
if name.as_str().to_lowercase() == "requiredversion" {
if let Value::Number(Number::Float32 { value, .. }) = value
{
required_version = Version::from(*value);
Expand Down

0 comments on commit ea638d6

Please sign in to comment.