umputun / remark42

comment engine
https://remark42.com
MIT License
4.81k stars 374 forks source link

Fix wrapped errors checks #1682

Closed paskal closed 10 months ago

paskal commented 10 months ago

As errors can be wrapped in recent versions of Go, the proper way to check the error types are errors.As and errors.Is.

github-actions[bot] commented 10 months ago

Pull Request Test Coverage Report for Build 6476003936


Changes Missing Coverage Covered Lines Changed/Added Lines %
backend/app/main.go 0 2 0.0%
<!-- Total: 2 4 50.0% -->
Files with Coverage Reduction New Missed Lines %
backend/app/notify/notify.go 2 94.55%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 6472903539: -0.01%
Covered Lines: 5811
Relevant Lines: 6899

💛 - Coveralls