diff --git a/CHANGELOG.md b/CHANGELOG.md index cadb64e..fac5449 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.5.2 + +### Fixed + +- bug on initialization where it tries to map binaries with the lts version instead of the selected one + ## 0.5.1 ### Fixed diff --git a/src/nenv.rs b/src/nenv.rs index 5c33cc1..4e9706d 100644 --- a/src/nenv.rs +++ b/src/nenv.rs @@ -195,6 +195,7 @@ impl Nenv { }; self.repo.install_version(&version).await?; + self.active_version = version; self.get_mapper().await?.remap_additive().await?; println!("{}", "Initialized!".green());