mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-09 19:47:02 +02:00
commands, hugolib, source, target, tpl: Get rid of some fmt statements
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
120f6b0cf2
commit
1f130fd692
@@ -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")
|
||||
|
Reference in New Issue
Block a user