From ea638d667cd920dbc5d57a9e781194c2b01f6818 Mon Sep 17 00:00:00 2001 From: Brett Mayson Date: Fri, 18 Oct 2024 01:14:22 +0000 Subject: [PATCH] fix requiredVersion --- libs/config/src/model/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/config/src/model/config.rs b/libs/config/src/model/config.rs index a3bdea1b..6f76cf26 100644 --- a/libs/config/src/model/config.rs +++ b/libs/config/src/model/config.rs @@ -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);