nvm-vanilla 1.0.23 → 1.0.24

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.23",
3
+ "version": "1.0.24",
4
4
  "description": "node version manager written with node itself",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -430,7 +430,7 @@ const use = async (baseDir, version, evalFlag = true) => {
430
430
  if (!process.env.SHELL) {
431
431
  command = `$env:${key}="${value}"`;
432
432
  } else if (process.platform === 'win32') {
433
- command
433
+ command = command
434
434
  .replace(/([\w+]):\\/g, (_, $1) => '/' + $1.toLowerCase() + '/')
435
435
  .replace(/\\/g, '/')
436
436
  .replace(/;/g, ':');