fix: 类型转换错误导致规则解析错误
This commit is contained in:
@ -62,6 +62,6 @@ func NewUnsupportedError(tp any) *UnsupportedError {
|
||||
}
|
||||
|
||||
func IsUnsupported(err error) bool {
|
||||
_, ok := err.(UnsupportedError)
|
||||
_, ok := err.(*UnsupportedError)
|
||||
return ok
|
||||
}
|
||||
|
Reference in New Issue
Block a user