mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 20:25: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
|
||||
|
||||
if (!$WDK)
|
||||
if (!$WDKVersion)
|
||||
{
|
||||
Write-Host "WDK was not found"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user