@modernpoacher/deps 1.5.3 → 1.5.4

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
- . "${NVM}" &> /dev/null # ${platform === 'win32' ? 'echo -' : `. "${NVM}"`}
67
+ ${platform === 'win32' ? `echo "${NVM}"` : `. "${NVM}"`}
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
- . "${NVM}" &> /dev/null # ${platform === 'win32' ? 'echo -' : `. "${NVM}"`}
77
+ ${platform === 'win32' ? `echo "${NVM}"` : `. "${NVM}"`}
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
- . "${NVM}" &> /dev/null # ${_os.platform==='win32'?'echo -':`. "${NVM}"`}
6
+ ${_os.platform==='win32'?`echo "${NVM}"`:`. "${NVM}"`}
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.3",
3
+ "version": "1.5.4",
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
- . "${NVM}" &> /dev/null # ${platform === 'win32' ? 'echo -' : `. "${NVM}"`}
132
+ ${platform === 'win32' ? `echo "${NVM}"` : `. "${NVM}"`}
133
133
 
134
134
  ${commands}
135
135