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

refactor: assembles printer in the common output option #1428

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Jun 23, 2024

What this PR does / why we need it:
Follow up of #1426, de-duplicates printer initialization during command run(mentioned in #1426 (review))

Copy link

codecov bot commented Jun 23, 2024

Codecov Report

Attention: Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.28%. Comparing base (cca272c) to head (813cb12).

Files Patch % Lines
cmd/oras/root/login.go 50.00% 0 Missing and 2 partials ⚠️
cmd/oras/root/cp.go 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1428      +/-   ##
==========================================
+ Coverage   85.26%   85.28%   +0.01%     
==========================================
  Files         106      106              
  Lines        3808     3798      -10     
==========================================
- Hits         3247     3239       -8     
+ Misses        336      334       -2     
  Partials      225      225              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@qweeah qweeah merged commit f8519a9 into oras-project:main Jun 24, 2024
8 checks passed
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.

2 participants