mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
config/allconfig: Throw error when output format is not defined
Fixes #13199
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
77824d704c
commit
eb1dbe0709
@@ -734,7 +734,7 @@ func (c *Configs) Validate(logger loggers.Logger) error {
|
||||
|
||||
// transientErr returns the last transient error found during config compilation.
|
||||
func (c *Configs) transientErr() error {
|
||||
for _, l := range c.LanguageConfigSlice {
|
||||
for _, l := range c.LanguageConfigMap {
|
||||
if l.C.transientErr != nil {
|
||||
return l.C.transientErr
|
||||
}
|
||||
|
Reference in New Issue
Block a user