mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
commands: Fix newly broken server flag handling
This commit is contained in:
1 parent
1d7b960614
commit
92ba7219dc
1 file changed
+1
-1
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user