tomarrell / wrapcheck

A Go linter to check that errors from external packages are wrapped
https://blog.tomarrell.com/post/introducing_wrapcheck_linter_for_go
MIT License
291 stars 26 forks source link

chore: remove unnecessary type assertion #23

Closed frecks closed 2 years ago

frecks commented 2 years ago

Hello @tomarrell ! I noticed what appears to be an unnecessary type assertion in the wrapcheck linter. Here is a PR to remove the unnecessary code.

I have verified that this passes the test suite. If there's anything else I can do to help, please don't hesitate to let me know. Thanks.

tomarrell commented 2 years ago

Ah true, thanks for that