@modernpoacher/deps 2.0.24 → 2.0.26

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,7 +30,7 @@ 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
35
  if [[ $? != 0 ]];
36
36
  then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.0.24",
3
+ "version": "2.0.26",
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