Skip to content

Commit 0ab2daa

Browse files
pick out exit code from result
1 parent 49930b8 commit 0ab2daa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/server/lib/exec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = {
3737
// do we want to return all fields returned by execa?
3838
result.shell = shell
3939
result.cmd = cmd
40+
result.code = result.exitCode
4041

4142
return result
4243
}).then(pickMainProps)

0 commit comments

Comments
 (0)