From: spf13 Date: Tue, 1 Jul 2014 14:59:58 +0000 (-0400) Subject: Fixed #328. Config file set appropriately. X-Git-Tag: v0.12~72 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf9595aa;p=brevno-suite%2Fhugo Fixed #328. Config file set appropriately. --- diff --git a/commands/hugo.go b/commands/hugo.go index f5c8415a..ec3d835a 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -90,7 +90,7 @@ func init() { } func InitializeConfig() { - viper.SetConfigName(CfgFile) + viper.SetConfigFile(CfgFile) viper.AddConfigPath(Source) err := viper.ReadInConfig() if err != nil {