mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
6bcc5ad8b2
commit
e6aa6edb4c
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ func (c *commandeer) loadConfig(mustHaveConfigFile, running bool) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else if mustHaveConfigFile && len(configFiles) == 0 {
|
||||||
|
return hugolib.ErrNoConfigFile
|
||||||
}
|
}
|
||||||
|
|
||||||
c.configFiles = configFiles
|
c.configFiles = configFiles
|
||||||
|
|
Loading…
Reference in a new issue