mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 03:13:23 +00:00
refactored function
This commit is contained in:
@@ -104,7 +104,5 @@ function GetToolDirectory {
|
|||||||
}
|
}
|
||||||
$ToolcachePath = Join-Path -Path $targetPath -ChildPath $ToolName
|
$ToolcachePath = Join-Path -Path $targetPath -ChildPath $ToolName
|
||||||
$ToolcacheVersionPath = Join-Path -Path $ToolcachePath -ChildPath $Version
|
$ToolcacheVersionPath = Join-Path -Path $ToolcachePath -ChildPath $Version
|
||||||
$toolDirectory = Join-Path $ToolcacheVersionPath $Architecture
|
return Join-Path $ToolcacheVersionPath $Architecture
|
||||||
|
|
||||||
return $toolDirectory
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user