diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-11-12 09:51:13 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-11-12 12:05:31 +0100 |
commit | 43ac59da850901cc848b35129ca7223f9f9a9b19 (patch) | |
tree | 6baa062e96f19393fefb53badd7452cf38c32f07 /create | |
parent | ab5c6990a55cbb11d97f857b4619b83fddda3d18 (diff) | |
download | hugo-43ac59da850901cc848b35129ca7223f9f9a9b19.tar.gz hugo-43ac59da850901cc848b35129ca7223f9f9a9b19.zip |
create: Always print "Content ... created"
This indeliberately changed to INFO level in Hugo 0.89.0.
Fixes #9157
Diffstat (limited to 'create')
-rw-r--r-- | create/content.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/create/content.go b/create/content.go index a629d6553..739783398 100644 --- 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 { |