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

support nvmrc in node version #26

Open
rluvaton opened this issue Feb 20, 2024 · 1 comment · May be fixed by #36
Open

support nvmrc in node version #26

rluvaton opened this issue Feb 20, 2024 · 1 comment · May be fixed by #36

Comments

@rluvaton
Copy link

Thanks for the extension!

It would be great if you could use the version in the nvmrc file or the version of the current terminal in that directory (which will auto load the current version in the nvmrc file)

@connor4312
Copy link
Owner

Hm,. The way that comes to mind is spawning a process as a login shell in the test directory and reading variables from there. It looks like fish, zsh, and bash all would work with ${process.env.SHELL} -l -c env, but it's not a guaranteed to be portable.

@rluvaton rluvaton linked a pull request Apr 20, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants