mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
refactor: join cache path correctly
This commit is contained in:
parent
f865f92633
commit
2ccc88fd4b
|
@ -769,7 +769,7 @@ func returnOrBuildCachePath(path string) string {
|
|||
return ""
|
||||
}
|
||||
// validate oh-my-posh folder, if non existent, create it
|
||||
cachePath := path + "/oh-my-posh"
|
||||
cachePath := filepath.Join(path, "oh-my-posh")
|
||||
if _, err := os.Stat(cachePath); err == nil {
|
||||
return cachePath
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue