Skip to content

Commit

Permalink
print exit code as string due to upstream bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruithne committed Jul 12, 2023
1 parent 53699b0 commit 71b6b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function start_server() {
stderr: 'pipe',

onExit: (proc, exitCode, signal) => {
log('server exited with code %d', exitCode);
log('server exited with code %s', exitCode);

if (exitCode !== null && exitCode > 0) {
if (proc.stderr !== undefined) {
Expand Down

0 comments on commit 71b6b13

Please sign in to comment.