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

improve the error messages #144

Merged
merged 1 commit into from
Apr 21, 2018

Conversation

rleungx
Copy link
Contributor

@rleungx rleungx commented Apr 21, 2018

This PR uses stdin_isatty() to raise an error when someone does not pipe a file into stdin or the file does not exist.

@codecov-io
Copy link

codecov-io commented Apr 21, 2018

Codecov Report

Merging #144 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #144   +/-   ##
=======================================
  Coverage   96.39%   96.39%           
=======================================
  Files          18       18           
  Lines        1886     1886           
=======================================
  Hits         1818     1818           
  Misses         68       68
Impacted Files Coverage Δ
src/lib.rs 100% <ø> (ø) ⬆️

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 39df21d...3da1fa4. Read the comment docs.

@garious
Copy link
Contributor

garious commented Apr 21, 2018

Very nice, thanks so much!

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