diff options
author | Joel Scoble <joel.scoble@outlook.com> | 2014-11-06 10:56:14 -0600 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-11-13 22:39:07 -0500 |
commit | 99463f6adf73b63e98350240d73cab116bcbb704 (patch) | |
tree | a56a44f0fe48639d1c542e11f4f3ecb6e1169892 /commands/version.go | |
parent | 2c51bba0c30fd33252f7832c12aec5eb8cb35a20 (diff) |
converted path 2 filepath
Diffstat (limited to 'commands/version.go')
-rw-r--r-- | commands/version.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/version.go b/commands/version.go index 0ce73c4d6..3d1b2b069 100644 --- a/commands/version.go +++ b/commands/version.go @@ -16,7 +16,6 @@ package commands import ( "fmt" "os" - "path" "path/filepath" "strings" "time" @@ -65,7 +64,7 @@ func setBuildDate() { fmt.Println(err) return } - fi, err := os.Lstat(path.Join(dir, "hugo")) + fi, err := os.Lstat(filepath.Join(dir, "hugo")) if err != nil { fmt.Println(err) return |