mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 17:24:36 -04:00
Add missing formatting directive in Printf call
To make Go Vet happy.
This commit is contained in:
parent
5b19a26556
commit
1583d8d094
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user