diff --git a/parsers/nmparser/parse_run_details.go b/parsers/nmparser/parse_run_details.go index 288a82e5..87ee20ac 100644 --- a/parsers/nmparser/parse_run_details.go +++ b/parsers/nmparser/parse_run_details.go @@ -39,7 +39,8 @@ func replaceTrim(line string, replacement string) string { } */ func parseLine(line string, n int) string { - if tokens := strings.Fields(line); len(tokens) >= n { + tokens := strings.Fields(line) + if len(tokens) >= n { return tokens[n] }