Browse Source

Adding FNM_ARCH as an exported env var from fnm env (#421)

Continuation of #417 so it will work with `--use-on-cd` as well
remotes/origin/add-with-shims
Gal Schlezinger 4 years ago committed by GitHub
parent
commit
1327286abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/commands/env.rs

4
src/commands/env.rs

@ -75,6 +75,10 @@ impl Command for Env {
"{}", "{}",
shell.set_env_var("FNM_NODE_DIST_MIRROR", config.node_dist_mirror.as_str()) shell.set_env_var("FNM_NODE_DIST_MIRROR", config.node_dist_mirror.as_str())
); );
println!(
"{}",
shell.set_env_var("FNM_ARCH", &config.arch.to_string())
);
if self.use_on_cd { if self.use_on_cd {
println!("{}", shell.use_on_cd(&config)); println!("{}", shell.use_on_cd(&config));
} }

Loading…
Cancel
Save