converted path 2 filepath

This commit is contained in:
Joel Scoble
2014-11-06 10:56:14 -06:00
committed by spf13
parent 2c51bba0c3
commit 99463f6adf
3 changed files with 9 additions and 11 deletions

View File

@@ -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