From 8b729997dfdeeb3af7fda07a0d6e885c510d2d0b Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 7 Jul 2020 18:29:38 -0700 Subject: remove trailing whitespace PR-URL: https://github.com/npm/cli/pull/1495 Credit: @isaacs Close: #1495 Reviewed-by: @ruyadorno --- lib/outdated.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/outdated.js') 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 -- cgit v1.2.3