Skip to content

Commit

Permalink
fix: stdout write on kill
Browse files Browse the repository at this point in the history
closes #117
  • Loading branch information
privatenumber committed Oct 17, 2022
1 parent bb9297f commit e7de0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preflight.cts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (process.send) {
* default behavior when there are no other handlers set
*/
if (process.rawListeners(signal).length === 1) {
process.stdin.write('\n');
process.stdout.write('\n');

// eslint-disable-next-line unicorn/no-process-exit
process.exit(128 + osConstants.signals[signal]);
Expand Down

0 comments on commit e7de0c1

Please sign in to comment.