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

chore: cleaner edit code for easier refactor/improve #1326

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

maxandersen
Copy link
Collaborator

Just a few changes to make it easier to
update edit.

should not break/change things besides the cleanup removing what seems to me like redundant calls and introduce a generic watch method with a callback.

@maxandersen maxandersen requested a review from quintesse April 4, 2022 09:14
@codecov
Copy link

codecov bot commented Apr 4, 2022

Codecov Report

Merging #1326 (f4a2fdd) into main (bc68aca) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main    #1326      +/-   ##
============================================
- Coverage     56.51%   56.42%   -0.09%     
  Complexity     1154     1154              
============================================
  Files            99       99              
  Lines          6142     6151       +9     
  Branches       1022     1020       -2     
============================================
  Hits           3471     3471              
- Misses         2190     2199       +9     
  Partials        481      481              
Flag Coverage Δ
Linux 55.24% <0.00%> (-0.09%) ⬇️
Windows 55.86% <0.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/java/dev/jbang/cli/Edit.java 44.81% <0.00%> (-1.74%) ⬇️

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 bc68aca...f4a2fdd. Read the comment docs.

Copy link
Contributor

@quintesse quintesse left a comment

Choose a reason for hiding this comment

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

LGTM

@maxandersen maxandersen merged commit b87b59e into jbangdev:main Apr 6, 2022
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