diff --git a/cmd/spot/main.go b/cmd/spot/main.go index bd0fa0dc..3c0d0c7c 100644 --- a/cmd/spot/main.go +++ b/cmd/spot/main.go @@ -352,7 +352,7 @@ func formatErrorString(input string) string { return input } - errorsRe := regexp.MustCompile(`\[\d+\] {([^}]+)}`) + errorsRe := regexp.MustCompile(`\[\d+] {([^}]+)}`) errorsMatches := errorsRe.FindAllStringSubmatch(input, -1) formattedErrors := make([]string, 0, len(errorsMatches))