<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/5e5ff89eff4a14f8772a56db1fe3c4e90637913e">https://github.com/macports/mpbot-github/commit/5e5ff89eff4a14f8772a56db1fe3c4e90637913e</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 5e5ff89 Improve code readability
</span>5e5ff89 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5e5ff89eff4a14f8772a56db1fe3c4e90637913e
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Tue Jan 8 11:33:49 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> Improve code readability
</span>---
pr/githubapi/pull_request.go | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/pr/githubapi/pull_request.go b/pr/githubapi/pull_request.go
</span><span style='display:block; white-space:pre;color:#808080;'>index 03aad94..c95deeb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/pr/githubapi/pull_request.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/pr/githubapi/pull_request.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,10 +43,11 @@ func (client *githubClient) ListChangedPortsAndFiles(owner, repo string, number
</span> }
match := portGrep.FindStringSubmatch(fileName)
if match != nil {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if idx, ok := portsFound[match[1]]; !ok {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ports = append(ports, match[1])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port := match[1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if idx, ok := portsFound[port]; !ok {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ports = append(ports, port)
</span> commitFiles = append(commitFiles, file)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- portsFound[match[1]] = len(ports) - 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ portsFound[port] = len(ports) - 1
</span> } else {
if match[2] == "Portfile" {
commitFiles[idx] = file
</pre><pre style='margin:0'>
</pre>