Fixed #328. Config file set appropriately.
authorspf13 <steve.francia@gmail.com>
Tue, 1 Jul 2014 14:59:58 +0000 (10:59 -0400)
committerspf13 <steve.francia@gmail.com>
Tue, 1 Jul 2014 14:59:58 +0000 (10:59 -0400)
commands/hugo.go

index f5c8415ae25b7aa2c843cc58e527b9883e871db1..ec3d835aa11c411a3a22a4081da163f1cceb3727 100644 (file)
@@ -90,7 +90,7 @@ func init() {
 }
 
 func InitializeConfig() {
-       viper.SetConfigName(CfgFile)
+       viper.SetConfigFile(CfgFile)
        viper.AddConfigPath(Source)
        err := viper.ReadInConfig()
        if err != nil {