refactored function

This commit is contained in:
Nikita Bykov
2020-09-09 12:28:21 +03:00
parent 3f2b844267
commit 5bcb80c333

View File

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