nodeswitch 1.9.7 → 1.9.8

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/bin/nodeswitch.sh CHANGED
@@ -37,7 +37,7 @@ if [ "$1" != "" ]; then
37
37
  if [ $? -ne 0 ]; then
38
38
  rm $nodeswitchAPPDATA/nodeswitch/$2.zip
39
39
  echo "Node version not created"
40
- return 1
40
+ return
41
41
  fi
42
42
 
43
43
  unzip -d $nodeswitchAPPDATA/nodeswitch -o $nodeswitchAPPDATA/nodeswitch/$2.zip > /dev/null
@@ -46,7 +46,7 @@ if [ "$1" != "" ]; then
46
46
  rm $nodeswitchAPPDATA/nodeswitch/$2.zip
47
47
  rm -rf $nodeswitchAPPDATA/nodeswitch/node-v$2-win-x64
48
48
  echo "Node version not created"
49
- return 1
49
+ return
50
50
  fi
51
51
 
52
52
  rm $nodeswitchAPPDATA/nodeswitch/$2.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodeswitch",
3
- "version": "1.9.7",
3
+ "version": "1.9.8",
4
4
  "description": "Node version switcher for Microsoft Windows x64",
5
5
  "scripts": {
6
6
  "preinstall": "node scripts/preinstall.js",
@@ -20,3 +20,4 @@
20
20
 
21
21
 
22
22
 
23
+