From e68e760a9f7687b039d33bebf49045f7d561ca01 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Thu, 13 Aug 2015 18:17:06 -0500 Subject: [PATCH] service/debugger: Remove newline at end of error --- service/debugger/locations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/debugger/locations.go b/service/debugger/locations.go index a8717170..d4ba98f5 100644 --- a/service/debugger/locations.go +++ b/service/debugger/locations.go @@ -280,7 +280,7 @@ func (loc *NormalLocationSpec) Find(d *Debugger, locStr string) ([]api.Location, case 0: return nil, fmt.Errorf("Location \"%s\" not found", locStr) default: - return nil, fmt.Errorf("Location \"%s\" ambiguous: %s…\n", locStr, strings.Join(candidates, ", ")) + return nil, fmt.Errorf("Location \"%s\" ambiguous: %s…", locStr, strings.Join(candidates, ", ")) } } -- GitLab