mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
Update parser.go
This commit is contained in:
parent
f6b8a39e3f
commit
cec0f3cebe
1 changed files with 2 additions and 2 deletions
|
@ -82,9 +82,9 @@ func ParseRule(tp, payload, target string, params []string, subRules map[string]
|
|||
parsed = RC.NewMatch(target)
|
||||
parseErr = nil
|
||||
case "":
|
||||
parseErr = fmt.Errorf("(%s) missing subsequent parameters", payload)
|
||||
parseErr = fmt.Errorf("missing subsequent parameters: %s", payload)
|
||||
default:
|
||||
parseErr = fmt.Errorf("unsupported rule type %s", tp)
|
||||
parseErr = fmt.Errorf("unsupported rule type: %s", tp)
|
||||
}
|
||||
|
||||
if parseErr != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue