mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
fix variable name
This commit is contained in:
@@ -30,7 +30,7 @@ function Get-WDKVersion
|
|||||||
{
|
{
|
||||||
$WDKVersion = (Get-WmiObject Win32_Product -Filter "Name = 'Windows Driver Kit'").version
|
$WDKVersion = (Get-WmiObject Win32_Product -Filter "Name = 'Windows Driver Kit'").version
|
||||||
|
|
||||||
if (!$WDK)
|
if (!$WDKVersion)
|
||||||
{
|
{
|
||||||
Write-Host "WDK was not found"
|
Write-Host "WDK was not found"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user