Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Apr 12, 2021
1 parent 39e6a04 commit 3e2ae3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function run (args: any[]) {
stderr += data.toString()
})
cli.on('close', code => {
resolve({ code, stdout, stderr })
resolve({ code: code || 0, stdout, stderr });
})
})
}
Expand Down

0 comments on commit 3e2ae3b

Please sign in to comment.