Skip to content

Commit

Permalink
fix(vfox): ensure plugin is installed before listing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Aug 28, 2024
1 parent ff2f652 commit 914d0b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/vfox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ impl VfoxBackend {

fn _exec_env(&self, tv: &ToolVersion) -> eyre::Result<&BTreeMap<String, String>> {
self.exec_env_cache.get_or_try_init(|| {
self.ensure_plugin_installed()?;
Ok(self
.runtime()?
.block_on(self.vfox.env_keys(&self.pathname, &tv.version))?
Expand Down

0 comments on commit 914d0b4

Please sign in to comment.