diff --git a/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 b/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 index 1574fe434d..e3120836c8 100644 --- a/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 +++ b/.pipelines/verifyNoticeMdAgainstNugetPackages.ps1 @@ -79,7 +79,7 @@ $noticeMatch = [regex]::Match($noticeFile, $noticePattern) if ($noticeMatch.Success) { $currentNoticePackageList = $noticeMatch.Groups[1].Value.Trim() } else { - Write-Host -ForegroundColor Yellow "Warning: Could not find 'NuGet Packages used by PowerToys' section in NOTICE.md" + Write-Warning "Warning: Could not find 'NuGet Packages used by PowerToys' section in NOTICE.md" $currentNoticePackageList = "" }