This commit is contained in:
chyroc 2019-10-21 09:28:16 +08:00
parent a06e26a0a7
commit 08cd11e3c6
No known key found for this signature in database
GPG Key ID: 5CEACB2EE6A2FEFA

View File

@ -83,7 +83,9 @@ func (errs Errors) Is(target error) bool {
}
continue
}
return errors.Is(err, target)
if errors.Is(err, target) {
return true
}
}
return false