Skip to content

Commit

Permalink
test(maketest): Fix common.npm callback arguments (#144)
Browse files Browse the repository at this point in the history
PR-URL: #144
Credit: @larsgw
Reviewed-By: @aeschright
  • Loading branch information
larsgw authored and aeschright committed Jan 29, 2019
1 parent d9b6090 commit cdb0592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/maketest
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit cdb0592

Please sign in to comment.