We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e6a04 commit 3e2ae3bCopy full SHA for 3e2ae3b
test/cli.test.ts
@@ -24,7 +24,7 @@ function run (args: any[]) {
24
stderr += data.toString()
25
})
26
cli.on('close', code => {
27
- resolve({ code, stdout, stderr })
+ resolve({ code: code || 0, stdout, stderr });
28
29
30
}
0 commit comments