@modernpoacher/deps 2.2.13 → 2.2.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.mjs +2 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.2.13",
3
+ "version": "2.2.14",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
package/src/index.mjs CHANGED
@@ -83,13 +83,9 @@ export function use (key) {
83
83
  export function getInstallSaveExactCommands (deps, r, f) {
84
84
  log('getInstallSaveExactCommands')
85
85
 
86
- const commands = normalizeCommands(
86
+ return normalizeCommands(
87
87
  getRegistryParameter(r, getForceParameter(f, getSaveExactParameter(`npm i ${transform(deps)}`)))
88
88
  )
89
-
90
- info(commands)
91
-
92
- return commands
93
89
  }
94
90
 
95
91
  /**
@@ -106,13 +102,9 @@ export function getInstallSaveExactCommands (deps, r, f) {
106
102
  export function getInstallCommands (deps, r, f) {
107
103
  log('getInstallCommands')
108
104
 
109
- const commands = normalizeCommands(
105
+ return normalizeCommands(
110
106
  getRegistryParameter(r, getForceParameter(f, `npm i ${transform(deps)}`))
111
107
  )
112
-
113
- info(commands)
114
-
115
- return commands
116
108
  }
117
109
 
118
110
  /**