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

Remove StewardContext hierarchy #3247

Merged
merged 4 commits into from
Dec 20, 2023
Merged

Conversation

fthomas
Copy link
Member

@fthomas fthomas commented Dec 15, 2023

This removes the Context.StewardContext hierarchy. IMO StewardContext makes Context.scala unnecessarily more complicated only for saving one case in Main.run and a little duplication.

This removes the `Context.StewardContext` hierarchy. IMO `StewardContext`
makes `Context.scala` unnecessarily more complicated only for saving one
`case` in `Main.run`.
@fthomas fthomas added this to the 0.29.0 milestone Dec 15, 2023
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (986b845) 91.26% compared to head (bfb1b07) 91.17%.
Report is 2 commits behind head on main.

Files Patch % Lines
...la/org/scalasteward/core/application/Context.scala 11.11% 8 Missing ⚠️
...re/src/main/scala/org/scalasteward/core/Main.scala 0.00% 4 Missing ⚠️
...d/core/application/ValidateRepoConfigContext.scala 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3247      +/-   ##
==========================================
- Coverage   91.26%   91.17%   -0.10%     
==========================================
  Files         165      166       +1     
  Lines        3402     3400       -2     
  Branches      310      310              
==========================================
- Hits         3105     3100       -5     
- Misses        297      300       +3     

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

Copy link
Member

@alejandrohdezma alejandrohdezma left a comment

Choose a reason for hiding this comment

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

LGTM

@fthomas fthomas merged commit a3a2507 into main Dec 20, 2023
@fthomas fthomas deleted the topic/rm-StewardContext-hierarchy branch December 23, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants