summaryrefslogtreecommitdiff
path: root/deps/npm/lib/test.js
diff options
context:
space:
mode:
authornpm team <ops+robot@npmjs.com>2021-08-19 17:47:33 +0000
committerLuigi Pinca <luigipinca@gmail.com>2021-08-20 14:53:49 +0200
commit248f4c376444d0202f1d08f039c59485d6aea2e9 (patch)
tree270bcf6dd5734fa43ea1603bfc4a066b6f8f7926 /deps/npm/lib/test.js
parent279162cf98b22ec5d0afc182ea22c7a782ccd083 (diff)
downloadnode-new-248f4c376444d0202f1d08f039c59485d6aea2e9.tar.gz
deps: upgrade npm to 7.21.0
PR-URL: https://github.com/nodejs/node/pull/39813 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps/npm/lib/test.js')
-rw-r--r--deps/npm/lib/test.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/npm/lib/test.js b/deps/npm/lib/test.js
index e78fdf0c78..8ab1e85823 100644
--- a/deps/npm/lib/test.js
+++ b/deps/npm/lib/test.js
@@ -19,15 +19,5 @@ class Test extends LifecycleCmd {
'script-shell',
]
}
-
- exec (args, cb) {
- super.exec(args, er => {
- if (er && er.code === 'ELIFECYCLE') {
- /* eslint-disable standard/no-callback-literal */
- cb('Test failed. See above for more details.')
- } else
- cb(er)
- })
- }
}
module.exports = Test