-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix exit code when Ctrl+C'ing dev server #127
Conversation
4f516cc
to
e5efa81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please test for both dev server and non dev server
already checked looking into the test failures |
I understand but it would be awesome if we had automated tests for this |
c64202b
to
2a2bb60
Compare
2a2bb60
to
84eeffc
Compare
84eeffc
to
b896454
Compare
DevServer tests are not passing because `server.Stop()` was evaluated too early as function parameters in combination with `defer`. I'd be introducing a function literal, but instead I'm ignoring the err returned until temporalio/cli#127 is completely addressed.
What was changed
Made
Ctrl+C
exit code 0 instead of 1 when running dev serverWhy?
proper RC
address #43
Checklist
Closes
How was this tested:
Hit
Ctrl+C