Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-07-08 04:29:38 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-07-08 20:53:06 +0300
commit8b729997dfdeeb3af7fda07a0d6e885c510d2d0b (patch)
tree2560451ad221019eb2c9576a8d050a838914a84e /lib/outdated.js
parentfa65ba7969ac7f13554ae33c5bb34574c9d892e6 (diff)
remove trailing whitespace
PR-URL: https://github.com/npm/cli/pull/1495 Credit: @isaacs Close: #1495 Reviewed-by: @ruyadorno
Diffstat (limited to 'lib/outdated.js')
-rw-r--r--lib/outdated.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/outdated.js b/lib/outdated.js
index 04a1a7e3c..a4e3e7029 100644
--- a/lib/outdated.js
+++ b/lib/outdated.js
@@ -141,7 +141,7 @@ async function outdated_ (tree, deps, opts) {
// deps different from prod not currently
// on disk are not included in the output
if (edge.error === 'MISSING' && type !== 'dependencies') return
-
+
try {
const packument = await getPackument(spec)
const expected = edge.spec
@@ -178,7 +178,7 @@ async function outdated_ (tree, deps, opts) {
}
}
-
+
const p = []
if (deps.length !== 0) {
// specific deps