commands,config: Fix typo in log and error messages - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit b8526f32fa97711ff9447c5a08b0f0f7caef2637
DIR parent ed7e250068a495469a0f8e0859c7f667330b1013
HTML Author: Oleksandr Redko <Oleksandr_Redko@epam.com>
Date: Tue, 23 May 2023 12:37:44 +0300
commands,config: Fix typo in log and error messages
Diffstat:
M commands/convert.go | 2 +-
M config/configLoader.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/commands/convert.go b/commands/convert.go
@@ -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()
DIR diff --git a/config/configLoader.go b/config/configLoader.go
@@ -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