Skip to content

Commit 3e2ae3b

Browse files
committed
Fix types
1 parent 39e6a04 commit 3e2ae3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function run (args: any[]) {
2424
stderr += data.toString()
2525
})
2626
cli.on('close', code => {
27-
resolve({ code, stdout, stderr })
27+
resolve({ code: code || 0, stdout, stderr });
2828
})
2929
})
3030
}

0 commit comments

Comments
 (0)