fix: message 中括号内支持逗号(,)隔开的构建对象
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3eed8a4ef7
commit
7e6e013df0
|
@ -176,7 +176,7 @@ func foundAppByMessage(message string) []string {
|
||||||
if i >= 0 {
|
if i >= 0 {
|
||||||
j := strings.Index(message[i:], "]")
|
j := strings.Index(message[i:], "]")
|
||||||
if j >= 0 {
|
if j >= 0 {
|
||||||
return append([]string{message[i+1 : j+i]}, foundAppByMessage(message[j+i:])...)
|
return append(strings.Split(message[i+1:j+i], ","), foundAppByMessage(message[j+i:])...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return []string{}
|
return []string{}
|
||||||
|
|
Loading…
Reference in New Issue