1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Add more tests to helper

This commit is contained in:
bep
2015-01-27 10:15:57 +01:00
parent de76d4a84e
commit 5f9596e68c
3 changed files with 52 additions and 8 deletions

View File

@@ -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))
}