mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
converted path 2 filepath
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user