mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
commands,config: Fix typo in log and error messages
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
ed7e250068
commit
b8526f32fa
@@ -140,7 +140,7 @@ func (c *convertCommand) convertAndSavePage(p page.Page, site *hugolib.Site, tar
|
|||||||
|
|
||||||
errMsg := fmt.Errorf("error processing file %q", p.File().Path())
|
errMsg := fmt.Errorf("error processing file %q", p.File().Path())
|
||||||
|
|
||||||
site.Log.Infoln("ttempting to convert", p.File().Filename())
|
site.Log.Infoln("attempting to convert", p.File().Filename())
|
||||||
|
|
||||||
f := p.File()
|
f := p.File()
|
||||||
file, err := f.FileInfo().Meta().Open()
|
file, err := f.FileInfo().Meta().Open()
|
||||||
|
@@ -157,7 +157,7 @@ func LoadConfigFromDir(sourceFs afero.Fs, configDir, environment string) (Provid
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
// This will be used in error reporting, use the most specific value.
|
// This will be used in error reporting, use the most specific value.
|
||||||
dirnames = []string{path}
|
dirnames = []string{path}
|
||||||
return fmt.Errorf("failed to unmarshl config for path %q: %w", path, err)
|
return fmt.Errorf("failed to unmarshal config for path %q: %w", path, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var keyPath []string
|
var keyPath []string
|
||||||
|
Reference in New Issue
Block a user