cmd/heapview: remove needless slash

Change-Id: Ie19a60595862c0afff9364ee21dd9598370e6c91
Reviewed-on: https://go-review.googlesource.com/38752
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Yasuhiro Matsumoto 2017-03-28 17:10:21 +09:00 committed by Ian Lance Taylor
parent 1f0f7f68c9
commit 963fe939f1
1 changed files with 1 additions and 1 deletions

View File

@ -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() {