From d1351359b5f58b25ea3584e7469534d595853533 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 5 Dec 2015 19:27:43 +0000 Subject: [PATCH] experiment to solve #34 --- utils/utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)