mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 08:38:14 -04: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
@ -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…
x
Reference in New Issue
Block a user