Skip to content

Commit abb7cd7

Browse files
committed
Modify Rules for setting the name of auto.Label
1 parent eb4caa6 commit abb7cd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

auto/label-t.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ func (o *Label) Set(operators map[string]string) {
1717
if v, has := operators[o.Id]; has {
1818
o.Name = v
1919
} else {
20+
if o.Name != "" {
21+
return
22+
}
2023
o.Name = unknownOperator
2124
}
2225
}

0 commit comments

Comments
 (0)