Skip to content

Commit

Permalink
commands,config: Fix typo in log and error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored and bep committed Jun 12, 2023
1 parent ed7e250 commit b8526f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

site.Log.Infoln("ttempting to convert", p.File().Filename())
site.Log.Infoln("attempting to convert", p.File().Filename())

f := p.File()
file, err := f.FileInfo().Meta().Open()
Expand Down
2 changes: 1 addition & 1 deletion config/configLoader.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func LoadConfigFromDir(sourceFs afero.Fs, configDir, environment string) (Provid
if err != nil {
// This will be used in error reporting, use the most specific value.
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
Expand Down

0 comments on commit b8526f3

Please sign in to comment.