mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Add more tests to helper
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user