mirror of
https://github.com/macports/mpbot-github.git
synced 2026-07-13 03:18:39 -07:00
Fix finding ports
This commit is contained in:
+3
-3
@@ -28,9 +28,9 @@ func GetChangedPortList() ([]string, error) {
|
||||
line := stdoutScanner.Text()
|
||||
var match []string
|
||||
if match = portGrep.FindStringSubmatch(line); match == nil {
|
||||
continue
|
||||
} else if match = renameGrep.FindStringSubmatch(line); match == nil {
|
||||
continue
|
||||
if match = renameGrep.FindStringSubmatch(line); match == nil {
|
||||
continue
|
||||
}
|
||||
}
|
||||
port := match[1]
|
||||
if _, ok := portsFound[port]; !ok {
|
||||
|
||||
Reference in New Issue
Block a user