mirror of
https://github.com/macports/mpbot-github.git
synced 2026-07-13 03:18:39 -07:00
pr: Fix Travis log regex
This commit is contained in:
@@ -154,7 +154,7 @@ func (receiver *Receiver) handleTravisWebhook(payload TravisWebhookPayload) {
|
||||
lintDone = true
|
||||
}
|
||||
if strings.HasSuffix(pName, "-pastebin") {
|
||||
pastebinRegex := regexp.MustCompile(`^port-(.*)(-dep)?-install-output-(success|fail)-pastebin$`)
|
||||
pastebinRegex := regexp.MustCompile(`^port-(.*?)(-dep)?-install-output-(success|fail)-pastebin$`)
|
||||
pbInfo := pastebinRegex.FindStringSubmatch(pName)
|
||||
if pbInfo == nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user