Skip to content

Commit

Permalink
Use current working dir as WorkingDir instead of hugo executable's dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsushid authored and spf13 committed Dec 12, 2014
1 parent ec4b6c0 commit 7436829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func InitializeConfig() {
if Source != "" {
viper.Set("WorkingDir", Source)
} else {
dir, _ := helpers.FindCWD()
dir, _ := os.Getwd()
viper.Set("WorkingDir", dir)
}

Expand Down

0 comments on commit 7436829

Please sign in to comment.