diff options
author | Felix Lange <fjl@twurst.com> | 2016-04-15 17:06:57 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-15 17:17:27 +0800 |
commit | 6fdd0893c3ebf57e5a9ba2af569c595c859ab902 (patch) | |
tree | 2df67265a0350b68b2f10ba2f7dcd292fef59ad0 /common/path.go | |
parent | 68c755a238f1a204087c2843f01d48fc6039716f (diff) | |
download | dexon-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.gz dexon-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.zst dexon-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.zip |
all: fix go vet warnings
Diffstat (limited to 'common/path.go')
-rw-r--r-- | common/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/path.go b/common/path.go index 75a8c1a3e..cbcd13c4f 100644 --- a/common/path.go +++ b/common/path.go @@ -34,7 +34,7 @@ func MakeName(name, version string) string { func ExpandHomePath(p string) (path string) { path = p - sep := fmt.Sprintf("%s", os.PathSeparator) + sep := string(os.PathSeparator) // Check in case of paths like "/something/~/something/" if len(p) > 1 && p[:1+len(sep)] == "~"+sep { |