diff --git a/utils/utils.go b/utils/utils.go index 1e254e8f..bbfa4515 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -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)