1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Add missing formatting directive in Printf call

To make Go Vet happy.
This commit is contained in:
Bjørn Erik Pedersen
2015-08-06 22:46:01 +02:00
parent 5b19a26556
commit 1583d8d094

View File

@ -273,7 +273,7 @@ func ReadDir(path string) []os.FileInfo {
wd = viper.GetString("WorkingDir")
}
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
}