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: duplicate line numbers when old_str appears multiple times in a line #65

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

ryanhoangt
Copy link
Collaborator

Description

When old_str appears multiple times in a line, the current implementation also returns that line number multiple times in the error message.

Related Issue

Fix #64

@ryanhoangt ryanhoangt requested a review from xingyaoww February 6, 2025 05:28
@ryanhoangt ryanhoangt merged commit 3470179 into main Feb 6, 2025
4 checks passed
@ryanhoangt ryanhoangt deleted the fix-dup-line-num branch February 6, 2025 06:00
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.

Duplicated line numbers
2 participants