Unique rule-set names

This commit is contained in:
世界
2024-06-26 00:45:10 +08:00
parent 700fa2fa5e
commit f98faaf1ea
15 changed files with 57 additions and 57 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