mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
create: Always print "Content ... created"
This indeliberately changed to INFO level in Hugo 0.89.0. Fixes #9157
This commit is contained in:
parent
ab5c6990a5
commit
43ac59da85
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue