Skip to content

Commit

Permalink
create: Always print "Content ... created"
Browse files Browse the repository at this point in the history
This indeliberately changed to INFO level in Hugo 0.89.0.

Fixes #9157
  • Loading branch information
bep committed Nov 12, 2021
1 parent ab5c699 commit 43ac59d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 43ac59d

Please sign in to comment.