diff options
author | Lars Willighagen <lars.willighagen@gmail.com> | 2019-01-30 02:31:32 +0300 |
---|---|---|
committer | Audrey Eschright <audrey@lifeofaudrey.com> | 2019-02-14 22:19:49 +0300 |
commit | 75dce4c8c486bda402933ec9986efd919a1e635c (patch) | |
tree | 28897a70df08448244ea7503f0125efd1eebcbab /scripts | |
parent | cb8707a3d507ada2d4e60bef5e588ebb2b88c29c (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')
-rwxr-xr-x | scripts/maketest | 2 |
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()) |