chore: avoid repeated wrapper

This commit is contained in:
Skyxim 2023-02-07 21:29:40 +08:00
parent db54b438e6
commit 929b1675e3

View file

@ -148,7 +148,7 @@ func (m *Metadata) SourceAddress() string {
func (m *Metadata) SourceDetail() string {
if m.Type == INNER {
return fmt.Sprintf("[%s]", ClashName)
return fmt.Sprintf("%s", ClashName)
}
switch {