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
I'm continuing to see false positives from Go code which:
places the %w error wrapping verb somewhere other than the last position in the format string
places a second %w error wrapping verb in the format string
From what I understand the second is valid since Go 1.20 and the first has been valid since Go 1.13 (though I didn't find a lot of details on that when I looked).
I've filed a bug report with the linter author, but haven't received a response. I've reached out once more.
It's probably worth removing the linter from CI use until I hear back.
I'm continuing to see false positives from Go code which:
%w
error wrapping verb somewhere other than the last position in the format string%w
error wrapping verb in the format stringFrom what I understand the second is valid since Go 1.20 and the first has been valid since Go 1.13 (though I didn't find a lot of details on that when I looked).
I've filed a bug report with the linter author, but haven't received a response. I've reached out once more.
It's probably worth removing the linter from CI use until I hear back.
See also:
%w
fatih/errwrap#21The text was updated successfully, but these errors were encountered: