mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
parent
ca3b9ef955
commit
f865f92633
|
@ -11,7 +11,7 @@ function Get-CachePath {
|
|||
}
|
||||
$child = "oh-my-posh"
|
||||
$cachePath = Join-Path -Path $Path -ChildPath $child
|
||||
if (Test-Path -Path $Path) {
|
||||
if (Test-Path -Path $cachePath) {
|
||||
return $cachePath
|
||||
}
|
||||
New-Item -Path $Path -Name $child -ItemType "directory"
|
||||
|
|
Loading…
Reference in a new issue