fix #34
parent
d1351359b5
commit
63a50bfae5
|
@ -175,8 +175,11 @@ func Run(c *config.Config) {
|
||||||
|
|
||||||
viper.Reset()
|
viper.Reset()
|
||||||
commands.HugoCmd.ParseFlags(c.Args)
|
commands.HugoCmd.ParseFlags(c.Args)
|
||||||
// EXPERIENCE: using those args instead of nil, nil
|
err = commands.HugoCmd.RunE(nil, nil)
|
||||||
commands.HugoCmd.Run(commands.HugoCmd, make([]string, 0))
|
|
||||||
|
if err != nil {
|
||||||
|
log.Print(err)
|
||||||
|
}
|
||||||
|
|
||||||
err = os.Chdir(cwd)
|
err = os.Chdir(cwd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue