diff --git a/Cargo.lock b/Cargo.lock index 0498ccf..a7ac052 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -626,7 +626,7 @@ dependencies = [ [[package]] name = "geode" -version = "2.4.1" +version = "2.4.2" dependencies = [ "ansi_term", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index 5771414..abbef68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "geode" -version = "2.4.1" +version = "2.4.2" authors = ["HJfod ", "Camila314 "] edition = "2021" build = "build.rs" diff --git a/src/sdk.rs b/src/sdk.rs index d66ee97..95d5241 100644 --- a/src/sdk.rs +++ b/src/sdk.rs @@ -483,7 +483,8 @@ pub fn get_version() -> Version { Version::parse( fs::read_to_string(Config::sdk_path().join("VERSION")) .nice_unwrap("Unable to read SDK version, make sure you are using SDK v0.4.2 or later") - .as_str(), + .as_str() + .trim(), ) .nice_unwrap("Invalid SDK version") }