nvm-vanilla 1.0.21 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nvm-vanilla",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "node version manager written with node itself",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -424,7 +424,7 @@ const use = async (baseDir, version, evalFlag = true) => {
424
424
  const value = env[key];
425
425
 
426
426
  // shell
427
- let command = `export ${key}=${value}`;
427
+ let command = `export ${key}="${value}"`;
428
428
 
429
429
  // powershell
430
430
  if (!process.env.SHELL) {