create: Always print "Content ... created" - 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 43ac59da850901cc848b35129ca7223f9f9a9b19
DIR parent ab5c6990a55cbb11d97f857b4619b83fddda3d18
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Fri, 12 Nov 2021 09:51:13 +0100
create: Always print "Content ... created"
This indeliberately changed to INFO level in Hugo 0.89.0.
Fixes #9157
Diffstat:
M create/content.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/create/content.go b/create/content.go
@@ -238,7 +238,7 @@ func (b *contentBuilder) buildFile() (string, error) {
return "", err
}
- b.h.Log.Infof("Content %q created", contentPlaceholderAbsFilename)
+ b.h.Log.Printf("Content %q created", contentPlaceholderAbsFilename)
return contentPlaceholderAbsFilename, nil
}
@@ -335,7 +335,7 @@ func (b *contentBuilder) openInEditorIfConfigured(filename string) error {
return nil
}
- b.h.Log.Infof("Editing %q with %q ...\n", filename, editor)
+ b.h.Log.Printf("Editing %q with %q ...\n", filename, editor)
cmd, err := hexec.SafeCommand(editor, filename)
if err != nil {