From a3e956a508c5a7b6e60f0e44cc1d46725a339359 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 9 Aug 2024 10:28:07 -0400 Subject: [PATCH] [drop] test lint error --- parsers/nmparser/parse_run_details.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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] }