From b1f1cabfa6165b5353198d0f230076cc85a049af Mon Sep 17 00:00:00 2001 From: Zero King Date: Tue, 8 Jan 2019 11:48:40 +0000 Subject: [PATCH] Fix finding ports --- ci/portlist.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/portlist.go b/ci/portlist.go index ad88269..e7c0e60 100644 --- a/ci/portlist.go +++ b/ci/portlist.go @@ -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 {