Duplicate false positive causes panic #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/TwiN/go-away/blob/master/goaway.go#L178
runtime error: slice bounds out of range [457:451]@quackduck With what string did this happen, so that I can replicate it on my end?
I couldn't find the exact string but this has the same effect:
panic: runtime error: slice bounds out of range [392:380]Thanks! I was able to reproduce it using the following string:
Basically, it happens when there's two false positives.
This bug appears to have been introduced by #27, which was released as part of v1.6.1. In the meantime, you can use a version older than that.
Epic, thanks!
Released in v1.6.3.
Also opened #31 because I discovered another but while working on this.