You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting! I though that I fixed this in #123.
Have you tried the latest version?
I probably need to make a new release and attach compiled binaries there...
Ah yes, it's fixed in the latest version of ruleguard. I think it's because I was using golangci, which hadn't bumped the version to the latest. I am closing this issue.
With the rule below:
If the code is:
Then the suggestion will be slightly incorrect:
The rule works if the
$fmt
variable is replaced with a variable that has one character, such as$y
:In that case the suggestion will be correct:
The text was updated successfully, but these errors were encountered: