From 963fe939f1f179a8f7aa459391c7409ced6796a4 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 28 Mar 2017 17:10:21 +0900 Subject: [PATCH] cmd/heapview: remove needless slash Change-Id: Ie19a60595862c0afff9364ee21dd9598370e6c91 Reviewed-on: https://go-review.googlesource.com/38752 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot --- cmd/heapview/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/heapview/main.go b/cmd/heapview/main.go index 5fab790a..b65f52ad 100644 --- a/cmd/heapview/main.go +++ b/cmd/heapview/main.go @@ -39,7 +39,7 @@ func toolsDir() string { log.Println("error: GOPATH not set. Can't find client files") os.Exit(1) } - return filepath.Join(filepath.SplitList(gopath)[0], "/src/golang.org/x/tools") + return filepath.Join(filepath.SplitList(gopath)[0], "src/golang.org/x/tools") } var parseFlags = func() {