mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Add missing formatting directive in Printf call
To make Go Vet happy.
This commit is contained in:
@@ -273,7 +273,7 @@ func ReadDir(path string) []os.FileInfo {
|
|||||||
wd = viper.GetString("WorkingDir")
|
wd = viper.GetString("WorkingDir")
|
||||||
}
|
}
|
||||||
if strings.Contains(path, "..") {
|
if strings.Contains(path, "..") {
|
||||||
jww.ERROR.Printf("Path contains parent directory marker ..\n", path)
|
jww.ERROR.Printf("Path %s contains parent directory marker", path)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user