From 5b71ec8a080818b12f92a75c2f72c2c530161554 Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Sat, 19 Jan 2019 17:50:49 +0100 Subject: [PATCH] test: maketest: Fix common.npm callback arguments See https://github.com/npm/cli/blob/bb8688d5aba998bcdbcd33ee0508dad8a9ec2278/test/common-tap.js#L56 --- scripts/maketest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/maketest b/scripts/maketest index bf0c2c5f655db..4ef1e9266fb04 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())