mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 01:30:50 +00:00
Use current working dir as WorkingDir instead of hugo executable's dir
This commit is contained in:
parent
ec4b6c03a8
commit
7436829b82
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ func InitializeConfig() {
|
|||
if Source != "" {
|
||||
viper.Set("WorkingDir", Source)
|
||||
} else {
|
||||
dir, _ := helpers.FindCWD()
|
||||
dir, _ := os.Getwd()
|
||||
viper.Set("WorkingDir", dir)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue