From 3e05bcd4dd8c4ca85c87e793ccfa072a20e57a9f Mon Sep 17 00:00:00 2001 From: "Gordon Lam (SH)" Date: Wed, 11 Jun 2025 13:39:01 +0800 Subject: [PATCH] Fix the comment to use Write-Warning --- .pipelines/verifyNoticeMdAgainstNugetPackages.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "" }