<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository mpbot-github.
</pre>
<p><a href="https://github.com/macports/mpbot-github/commit/09bd9654a9ed17577564dede65dfb642ed647def">https://github.com/macports/mpbot-github/commit/09bd9654a9ed17577564dede65dfb642ed647def</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 09bd965 pr: Only make failed builds bold
</span>09bd965 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 09bd9654a9ed17577564dede65dfb642ed647def
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Tue Jun 11 12:46:01 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> pr: Only make failed builds bold
</span>---
pr/webhook/travis.go | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/pr/webhook/travis.go b/pr/webhook/travis.go
</span><span style='display:block; white-space:pre;color:#808080;'>index bc1d744..276593a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/pr/webhook/travis.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/pr/webhook/travis.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -163,9 +163,12 @@ func (receiver *Receiver) handleTravisWebhook(payload TravisWebhookPayload) {
</span> if pbInfo[2] == "-dep" {
comment += "'s dependencies"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if pbInfo[3] == "fail" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pbInfo[3] = "**" + pbInfo[3] + "**"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> pasteLink := strings.SplitN(string(content), "\n", 2)
if len(pasteLink) > 0 {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- comment += " **" + pbInfo[3] + "** on " + job.Config.OsxImage + ". [Log](" + pasteLink[0] + ")\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ comment += " " + pbInfo[3] + " on " + job.Config.OsxImage + ". [Log](" + pasteLink[0] + ")\n"
</span> }
}
}
</pre><pre style='margin:0'>
</pre>