Skip to content

Commit 1147f18

Browse files
committed
Code review
1 parent 95f04e8 commit 1147f18

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build/updatevcpkg.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,8 @@ Write-Host "`nvcpkg port updated successfully!"
178178
Write-Host "`nUpdated files:"
179179
Write-Host " $vcpkgJson"
180180
Write-Host " $portfile"
181+
182+
$portContent = Get-Content $portfile -Raw
183+
if ($portContent -match '\bPATCHES\b') {
184+
Write-Warning "This port includes patches. Review them to either remove or update."
185+
}

0 commit comments

Comments
 (0)