nodejs-testing
nodejs-testing copied to clipboard
support nvmrc in node version
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)
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.