mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
Add more tests to helper
This commit is contained in:
parent
de76d4a84e
commit
5f9596e68c
3 changed files with 52 additions and 8 deletions
|
@ -131,6 +131,7 @@ func AbsPathify(inPath string) string {
|
|||
return filepath.Clean(inPath)
|
||||
}
|
||||
|
||||
// todo consider move workingDir to argument list
|
||||
return filepath.Clean(filepath.Join(viper.GetString("WorkingDir"), inPath))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue