- Notifications
You must be signed in to change notification settings - Fork674
fix(cli): support binary files with@ notation#2753
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ae3a56b to39650aeComparecodecovbot commentedDec 28, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #2753 +/- ##======================================= Coverage 96.47% 96.47% ======================================= Files 89 89 Lines 5814 5819 +5 =======================================+ Hits 5609 5614 +5 Misses 205 205
Flags with carried forward coverage won't be shown.Click here to find out more.
|
bab6802 to08630efCompare@ notation08630ef to376ce65Compare376ce65 toa4d0b78Compare
nejch left a comment
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.
@JohnVillalovos thanks a lot, looks nice! Maybe we can just add that one additional I/O error that I think we can expect to happen with OS paths?
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Support binary files being used in the CLI with arguments using the`@` notation. For example `--avatar @/path/to/avatar.png`Also explicitly catch the common OSError exception, which is theparent exception for things like: FileNotFoundError, PermissionErrorand more exceptions.Remove the bare exception handling. We would rather have the fulltraceback of any exceptions that we don't know about and add themlater if needed.Closes:#2752
a4d0b78 to0b33192Compare
Uh oh!
There was an error while loading.Please reload this page.
Support binary files being used in the CLI with arguments using the
@notation. For example--avatar @/path/to/avatar.pngAlso explicitly catch the common FileNotFoundError and PermissionError
exceptions.
Remove the bare exception handling. We would rather have the full
traceback of any exceptions that we don't know about and add them
later if needed.
Closes:#2752