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:
authorKat Marchán <kzm@sykosomatic.org>2016-10-21 01:44:21 +0300
committerKat Marchán <kzm@sykosomatic.org>2016-10-21 02:01:25 +0300
commit3ee39488b74c7d35fbb5c14295e33b5a77578104 (patch)
treec0cfea804c33640aa577d106a5c4e418cd8eca66 /lib/outdated.js
parente2fa18d9f7904eb048db7280b40787cb2cdf87b3 (diff)
outdated: use simple non-zero exit code
PR-URL: https://github.com/npm/npm/pull/14013 Credit: @zkat Reviewed-By: @iarna
Diffstat (limited to 'lib/outdated.js')
-rw-r--r--lib/outdated.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/outdated.js b/lib/outdated.js
index 7a074be98..9f6a8b75e 100644
--- a/lib/outdated.js
+++ b/lib/outdated.js
@@ -111,7 +111,7 @@ function outdated (args, silent, cb) {
}
output(table(outTable, tableOpts))
}
- process.exitCode = list.length
+ process.exitCode = 1
cb(null, list.map(function (item) { return [item[0].parent.path].concat(item.slice(1, 7)) }))
})
}))