diff --git a/chia-log-analyzer.go b/chia-log-analyzer.go index a265eef..96220e9 100644 --- a/chia-log-analyzer.go +++ b/chia-log-analyzer.go @@ -320,22 +320,20 @@ func parseLines(lines []string) { if s == "" { continue } - if startParsingLines == false { + if !startParsingLines { if lastRow == "" { //first run ? startParsingLines = true } else { if lastRow == s { startParsingLines = true - continue - } else { - continue } + continue } } lastRow = s - if regexPlotsFarming.MatchString(s) == true { + if regexPlotsFarming.MatchString(s) { lastParsedLinesStack.push(s) match := regexPlotsFarming.FindStringSubmatch(s)