diff --git a/commands/hugo.go b/commands/hugo.go index 5a395e241..d43bb0ac0 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -190,7 +190,7 @@ func InitializeConfig() { if Source != "" { viper.Set("WorkingDir", Source) } else { - dir, _ := helpers.FindCWD() + dir, _ := os.Getwd() viper.Set("WorkingDir", dir) }