mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
Update TestsHelpers.ps1
This commit is contained in:
@@ -12,14 +12,6 @@ function Get-CommandResult {
|
||||
}
|
||||
}
|
||||
|
||||
# Gets path to the tool, analogue of 'which tool'
|
||||
function Get-WhichTool {
|
||||
Param (
|
||||
[Parameter(Mandatory)][string] $Tool
|
||||
)
|
||||
return (Get-Command $Tool).Path
|
||||
}
|
||||
|
||||
# Gets value of environment variable by the name
|
||||
function Get-EnvironmentVariable($variable) {
|
||||
return [System.Environment]::GetEnvironmentVariable($variable)
|
||||
|
||||
Reference in New Issue
Block a user