@modernpoacher/deps 2.1.14 → 2.1.15

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.
@@ -103,7 +103,7 @@ export function use (key) {
103
103
  function write (v) {
104
104
  const s = v.trimEnd()
105
105
 
106
- log(s)
106
+ if (s) log(s)
107
107
  }
108
108
 
109
109
  return function use (value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -81,7 +81,7 @@ export function use (key) {
81
81
  function write (v) {
82
82
  const s = v.trimEnd()
83
83
 
84
- log(s)
84
+ if (s) log(s)
85
85
  }
86
86
 
87
87
  return function use (value) {
@@ -107,7 +107,7 @@ export function out (key, directory) {
107
107
  function write (v) {
108
108
  const s = v.trimEnd()
109
109
 
110
- log(s)
110
+ if (s) log(s)
111
111
  }
112
112
 
113
113
  return function out (value) {
@@ -133,7 +133,7 @@ export function err (key, directory) {
133
133
  function write (v) {
134
134
  const s = v.trimEnd()
135
135
 
136
- log(s)
136
+ if (s) log(s)
137
137
  }
138
138
 
139
139
  return function err (value) {
package/src/index.mjs CHANGED
@@ -57,7 +57,7 @@ export function use (key) {
57
57
  function write (v) {
58
58
  const s = v.trimEnd()
59
59
 
60
- log(s)
60
+ if (s) log(s)
61
61
  }
62
62
 
63
63
  return function use (value) {