@modernpoacher/deps 2.0.24 → 2.0.25

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/nvm.sh CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/bin/bash +e
2
2
 
3
3
  NVM=~/.nvm
4
4
 
@@ -30,9 +30,9 @@ then
30
30
  else
31
31
  echo Environment has NVM version $VERSION installed
32
32
 
33
- nvm use
33
+ nvm use 2> /dev/null
34
34
 
35
- if [[ $? != 0 ]];
35
+ if [[ $WUT != 0 ]];
36
36
  then
37
37
  echo Environment does not have NVM configured
38
38
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.0.24",
3
+ "version": "2.0.25",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -175,7 +175,7 @@ ${commands}
175
175
  * @return {string}
176
176
  */
177
177
  export const getNvm = (commands) => `
178
- . "${NVM}" 2> /dev/null
178
+ bash "${NVM}" 2> /dev/null
179
179
  ${commands}
180
180
  `
181
181