refactored function

pull/16/head
Nikita Bykov 4 years ago
parent 3f2b844267
commit 5bcb80c333

@ -104,7 +104,5 @@ function GetToolDirectory {
}
$ToolcachePath = Join-Path -Path $targetPath -ChildPath $ToolName
$ToolcacheVersionPath = Join-Path -Path $ToolcachePath -ChildPath $Version
$toolDirectory = Join-Path $ToolcacheVersionPath $Architecture
return $toolDirectory
return Join-Path $ToolcacheVersionPath $Architecture
}

Loading…
Cancel
Save