Skip to content

Commit

Permalink
fix: settle only on 'close', not 'exit'
Browse files Browse the repository at this point in the history
fix #123
  • Loading branch information
jedwards1211 committed May 8, 2020
1 parent 9510327 commit cc8f6b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export function promisifyChildProcess(
}
}
child.on('close', done)
child.on('exit', done)
}
)
return (Object.create(child, {
Expand Down

0 comments on commit cc8f6b3

Please sign in to comment.