fix: message 中括号内支持逗号(,)隔开的构建对象
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-06 17:56:42 +08:00
parent 3eed8a4ef7
commit 7e6e013df0
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ func foundAppByMessage(message string) []string {
if i >= 0 {
j := strings.Index(message[i:], "]")
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{}