Skip to content

Commit

Permalink
Merge branch 'stevencohn:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
weissm authored Oct 12, 2023
2 parents 65eaa7b + fffa079 commit 36db23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-sdk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Begin
elseif ($line -match '<HintPath>(.+\\)UnionMetadata\\(\d+\.\d+\.\d+\.\d+)\\Windows.winmd</HintPath>')
{
$p = "$($matches[1])UnionMetadata\\$($matches[2])\\Windows.winmd"
if (($matches[2] -ne $sdkver) -or ![System.IO.Path]::Exists($p))
if (($matches[2] -ne $sdkver) -or ![System.IO.Directory]::Exists($p))
{
# always forces base
$fullpath = $kitsroot; 'UnionMetadata', $sdkver, 'Windows.winmd' | `
Expand Down

0 comments on commit 36db23d

Please sign in to comment.