mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
commands: Fix newly broken server flag handling
This commit is contained in:
parent
1d7b960614
commit
92ba7219dc
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func server(cmd *cobra.Command, args []string) error {
|
func server(cmd *cobra.Command, args []string) error {
|
||||||
cfg, err := InitializeConfig()
|
cfg, err := InitializeConfig(serverCmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue