Skip to content

Commit

Permalink
[drop] test lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Aug 9, 2024
1 parent 66346be commit 6b53585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parsers/nmparser/parse_run_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}

Expand Down

0 comments on commit 6b53585

Please sign in to comment.