oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.44k stars 174 forks source link

fix: fix error message when output is used before format for oras discover #1354

Closed wangxiaoxuan273 closed 5 months ago

wangxiaoxuan273 commented 5 months ago

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #1348

Please check the following list:

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.64%. Comparing base (2edebad) to head (dd18fa0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1354 +/- ## ========================================== - Coverage 84.65% 84.64% -0.01% ========================================== Files 104 104 Lines 3688 3687 -1 ========================================== - Hits 3122 3121 -1 Misses 338 338 Partials 228 228 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.