Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong temp path on Windows? #1106

Open
ysc3839 opened this issue Mar 25, 2024 · 0 comments
Open

Wrong temp path on Windows? #1106

ysc3839 opened this issue Mar 25, 2024 · 0 comments

Comments

@ysc3839
Copy link

ysc3839 commented Mar 25, 2024

When running fnm env on Windows, fnm returns multishell path in AppData\Local:

SET FNM_MULTISHELL_PATH=C:\Users\richard\AppData\Local\fnm_multishells\3868_1711396232893

fnm/src/directories.rs

Lines 20 to 26 in a5a497b

pub fn multishell_storage() -> PathBuf {
runtime_dir()
.or_else(state_dir)
.or_else(cache_dir)
.unwrap_or_else(std::env::temp_dir)
.join("fnm_multishells")
}

Shouldn't this path be AppData\Local\Temp\fnm_multishells?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant