Skip to content

fix: add check for the nil prevV#3

Merged
bolom009 merged 1 commit into
bolom009:masterfrom
lvjonok:fix/potential-offset-nil
Oct 31, 2025
Merged

fix: add check for the nil prevV#3
bolom009 merged 1 commit into
bolom009:masterfrom
lvjonok:fix/potential-offset-nil

Conversation

@lvjonok

@lvjonok lvjonok commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

Hi, in my inner tests I have encountered panic when prevV was nil. I think it is due the input path was empty.

I think that little check will help and not damage overall functionality.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
engine.go 0.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@bolom009 bolom009 merged commit 4d8110a into bolom009:master Oct 31, 2025
1 check 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.

3 participants