mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-04 01:20:04 +03:00
commands, hugolib, source, target, tpl: Get rid of some fmt statements
This commit is contained in:
parent
120f6b0cf2
commit
1f130fd692
4 changed files with 6 additions and 12 deletions
|
@ -97,7 +97,7 @@ func convertContents(mark rune) (err error) {
|
|||
}
|
||||
|
||||
if site.Source == nil {
|
||||
panic(fmt.Sprintf("site.Source not set"))
|
||||
panic("site.Source not set")
|
||||
}
|
||||
if len(site.Source.Files()) < 1 {
|
||||
return fmt.Errorf("No source files found")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue