re Update common.go

pull/4926/head
xqzr 2025-07-23 20:03:28 +08:00 committed by GitHub
parent cc027be58a
commit b8e1b1d269
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ func ParseRangeString(str string) (int, int, error) {
return 0, 0, nil
}
// for range value, like "114-514"
var pair []string
var pair []string
// Process sth like "-114-514" "-1919--810"
if strings.HasPrefix(str, "-") {
pair = splitFromSecondDash(str)