nodeswitch 1.4.1 → 1.4.2

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.
package/README.md CHANGED
@@ -39,7 +39,7 @@ nodeswitch list
39
39
  npm uninstall -g nodeswitch
40
40
 
41
41
  *****
42
- In the "C:\Users\YOUR_USERNAME\AppData\Roaming\npm" folder, delete 2 files: nodeswitch.cmd and nodeswitch.ps1
42
+ In the "C:\Users\YOUR_USERNAME\AppData\Roaming\npm" folder, delete 4 files: nodeswitch, nodeswitch.cmd, nodeswitch.ps1, and nodeswitch.sh
43
43
  In the "C:\Users\YOUR_USERNAME\.bash_profile" file, remove the line [alias nodeswitch="source nodeswitch"]
44
44
  *****
45
- ```
45
+ ```
package/bin/nodeswitch CHANGED
@@ -1 +1 @@
1
- source nodeswitch.sh "$@"
1
+ source nodeswitch.sh "$@"
@@ -70,4 +70,4 @@ if not "%1" == "" (
70
70
  )
71
71
  ) else (
72
72
  echo Incorrect command
73
- )
73
+ )
@@ -71,4 +71,4 @@ if ( $nodeswitch1stParameter -ne $null ) {
71
71
  }
72
72
  } else {
73
73
  echo "Incorrect command"
74
- }
74
+ }
package/bin/nodeswitch.sh CHANGED
@@ -77,4 +77,4 @@ then
77
77
  fi
78
78
  else
79
79
  echo "Incorrect command"
80
- fi
80
+ fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodeswitch",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Node version switcher for Microsoft Windows x64",
5
5
  "scripts": {
6
6
  "preinstall": "node scripts/preinstall.js",
@@ -4,4 +4,4 @@ copy .\bin\nodeswitch.ps1 %AppData%\npm
4
4
  copy .\bin\nodeswitch.sh %AppData%\npm
5
5
  findstr /m "alias nodeswitch=" %userprofile%\.bash_profile > nul
6
6
  if %errorlevel% == 1 ( echo alias nodeswitch="source nodeswitch" >> %userprofile%\.bash_profile )
7
- if not exist %AppData%\nodeswitch ( mkdir %AppData%\nodeswitch )
7
+ if not exist %AppData%\nodeswitch ( mkdir %AppData%\nodeswitch )