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

fix: fix autocorrections being assigned to the wrong field #46

Closed
wants to merge 1 commit into from

Conversation

stropitek
Copy link
Contributor

@stropitek stropitek commented Oct 28, 2023

Closes #43

This happened when multiple field use the same range as the source for parsing.

Stopped using previous autocorrected lines to compute next autocorrection and remove any autocorrection that does not finally apply to the final character range of the field.

This happened when multiple field use the same range as the source for parsing.

Stopped using previous autocorrected lines to compute next autocorrection and remove any autocorrection that does not finally apply to the final character range of the field.
@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7e27622) 88.32% compared to head (2b769ca) 88.39%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   88.32%   88.39%   +0.06%     
==========================================
  Files          39       39              
  Lines         377      379       +2     
  Branches       95       99       +4     
==========================================
+ Hits          333      335       +2     
  Misses         44       44              
Files Coverage Δ
src/parse/createFieldParser.ts 98.21% <100.00%> (-0.07%) ⬇️
src/parse/getResult.ts 100.00% <100.00%> (ø)

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

@stropitek
Copy link
Contributor Author

Duplicate of #45

@stropitek stropitek marked this as a duplicate of #45 Oct 30, 2023
@stropitek stropitek closed this Oct 30, 2023
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.

The autocorrected value is incorrectly assigned
1 participant