experiment to solve #34
parent
3c600d8ed1
commit
d1351359b5
|
@ -175,7 +175,8 @@ func Run(c *config.Config) {
|
|||
|
||||
viper.Reset()
|
||||
commands.HugoCmd.ParseFlags(c.Args)
|
||||
commands.HugoCmd.Run(nil, nil)
|
||||
// EXPERIENCE: using those args instead of nil, nil
|
||||
commands.HugoCmd.Run(commands.HugoCmd, make([]string, 0))
|
||||
|
||||
err = os.Chdir(cwd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue