Skip to content
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

Add quit::main macro #29

Merged
merged 1 commit into from
Mar 21, 2020
Merged

Add quit::main macro #29

merged 1 commit into from
Mar 21, 2020

Conversation

dylni
Copy link
Contributor

@dylni dylni commented Mar 21, 2020

Hi. I was searching to see how my crates are being used and noticed that the quit::main macro is missing here, which Quit uses to set the exit code. Without it, the exit code will end up being 101, but relying on this is not ideal. This PR fixes that.

@codecov-io
Copy link

Codecov Report

Merging #29 into master will not change coverage by %.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   80.58%   80.58%           
=======================================
  Files          15       15           
  Lines        4482     4482           
=======================================
  Hits         3612     3612           
  Misses        870      870           
Impacted Files Coverage Δ
src/main.rs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c35ce10...dc60579. Read the comment docs.

@fmckeogh
Copy link
Collaborator

Thank you so much, this is really helpful! I must've misread the documentation 😅

@fmckeogh fmckeogh merged commit bf05ab5 into rse-standrewscs:master Mar 21, 2020
@dylni
Copy link
Contributor Author

dylni commented Mar 21, 2020

Thank you too! This lets me know I should add a note about this in the documentation for with_code.

@dylni dylni deleted the patch-1 branch March 21, 2020 18:40
@fmckeogh fmckeogh mentioned this pull request Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants