mirror of
https://github.com/actions/runner-images.git
synced 2026-01-22 20:49:48 +08:00
Minor update
This commit is contained in:
@@ -15,7 +15,7 @@ param(
|
|||||||
)
|
)
|
||||||
|
|
||||||
$TemplatePath = (Get-ChildItem -Path "images" -Include "$Image.json" -Recurse -Depth 2).FullName
|
$TemplatePath = (Get-ChildItem -Path "images" -Include "$Image.json" -Recurse -Depth 2).FullName
|
||||||
if ($TemplatePath -eq $null)
|
if (-not $TemplatePath)
|
||||||
{
|
{
|
||||||
Write-Error "'-Image' parameter is not valid. You have to specify correct image type."
|
Write-Error "'-Image' parameter is not valid. You have to specify correct image type."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user