experiment to solve #34

pull/48/head
Henrique Dias 2015-12-05 19:27:43 +00:00
parent 3c600d8ed1
commit d1351359b5
1 changed files with 2 additions and 1 deletions

View File

@ -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)