mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
1 parent
6bcc5ad8b2
commit
e6aa6edb4c
1 file changed
+2
@@ -313,6 +313,8 @@ func (c *commandeer) loadConfig(mustHaveConfigFile, running bool) error {
|
||||
return err
|
||||
}
|
||||
|
||||
} else if mustHaveConfigFile && len(configFiles) == 0 {
|
||||
return hugolib.ErrNoConfigFile
|
||||
}
|
||||
|
||||
c.configFiles = configFiles
|
||||
|
||||
Reference in new issue
Block a user