Use / for template names regardless of platform.

The path seperator was causing templates to not be loaded on windows.
Now all template names use / internally.
This commit is contained in:
Noah Campbell
2013-08-12 13:57:47 -07:00
parent 3fdcd0ba7c
commit 8c03141307
4 changed files with 40 additions and 16 deletions

View File

@@ -148,7 +148,7 @@ func FindPath() (string, error) {
}
func (c *Config) GetAbsPath(name string) string {
if path.IsAbs(name) {
if filepath.IsAbs(name) {
return name
}