@modernpoacher/deps 1.5.5 → 1.5.6

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.
@@ -64,7 +64,7 @@ exit 0
64
64
  const getNpmiCommands = (directory = DIRECTORY, registry = REGISTRY, force = false) => normalise(`
65
65
  cd "${directory}"
66
66
 
67
- ${platform === 'win32' ? `echo "${NVM}"` : `. "${NVM}"`}
67
+ . "${NVM}" 2> /dev/null
68
68
 
69
69
  ${getRegistryParameter(registry, getForceParameter(force, 'npm i'))}
70
70
 
@@ -74,7 +74,7 @@ exit 0
74
74
  const getDepsCommands = (directory = DIRECTORY, registry = REGISTRY, force = false) => normalise(`
75
75
  cd "${directory}"
76
76
 
77
- ${platform === 'win32' ? `echo "${NVM}"` : `. "${NVM}"`}
77
+ . "${NVM}" 2> /dev/null
78
78
 
79
79
  ${getRegistryParameter(registry, getForceParameter(force, 'deps'))}
80
80
 
@@ -3,7 +3,7 @@ export PATH=/usr/local/bin:$PATH &> /dev/null
3
3
 
4
4
  cd "${directory}"
5
5
 
6
- ${_os.platform==='win32'?`echo "${NVM}"`:`. "${NVM}"`}
6
+ . "${NVM}" 2> /dev/null
7
7
 
8
8
  ${commands}
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -129,7 +129,7 @@ export PATH=/usr/local/bin:$PATH &> /dev/null
129
129
 
130
130
  cd "${directory}"
131
131
 
132
- ${platform === 'win32' ? `echo "${NVM}"` : `. "${NVM}"`}
132
+ . "${NVM}" 2> /dev/null
133
133
 
134
134
  ${commands}
135
135