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:
authorLars Willighagen <lars.willighagen@gmail.com>2019-01-30 02:31:32 +0300
committerAudrey Eschright <audrey@lifeofaudrey.com>2019-02-14 22:19:49 +0300
commit75dce4c8c486bda402933ec9986efd919a1e635c (patch)
tree28897a70df08448244ea7503f0125efd1eebcbab /scripts/maketest
parentcb8707a3d507ada2d4e60bef5e588ebb2b88c29c (diff)
test(maketest): Fix common.npm callback arguments (#144)
PR-URL: https://github.com/npm/cli/pull/144 Credit: @larsgw Reviewed-By: @aeschright
Diffstat (limited to 'scripts/maketest')
-rwxr-xr-xscripts/maketest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maketest b/scripts/maketest
index bf0c2c5f6..4ef1e9266 100755
--- a/scripts/maketest
+++ b/scripts/maketest
@@ -69,7 +69,7 @@ test('setup', t => {
})
test('example', t => {
- return common.npm(['install'], conf).then((code, stdout, stderr) => {
+ return common.npm(['install'], conf).then(([code, stdout, stderr]) => {
t.is(code, 0, 'command ran ok')
t.comment(stdout.trim())
t.comment(stderr.trim())