From cdb0592939d6256c80f7ec5a2b6251131a512a2a Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Wed, 30 Jan 2019 00:31:32 +0100 Subject: [PATCH] test(maketest): Fix common.npm callback arguments (#144) PR-URL: https://github.com/npm/cli/pull/144 Credit: @larsgw Reviewed-By: @aeschright --- 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())