Unique rule-set names

This commit is contained in:
世界
2024-06-26 00:45:10 +08:00
parent 8d993fdabb
commit 1e294b1b30
16 changed files with 58 additions and 58 deletions

View File

@@ -51,7 +51,7 @@ func NewLocalRuleSet(router adapter.Router, options option.RuleSet) (*LocalRuleS
return nil, err
}
default:
return nil, E.New("unknown rule set format: ", options.Format)
return nil, E.New("unknown rule-set format: ", options.Format)
}
rules := make([]adapter.HeadlessRule, len(plainRuleSet.Rules))
var err error