Skip to content

Commit 8a5465a

Browse files
Test ANSI coloring without adding the code.
1 parent 8efe415 commit 8a5465a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BeforeDiscovery {
2626
$ruleObjects = Get-ScriptAnalyzerRule -Verbose:$false | Sort-Object -Property Severity, CommonName
2727
$Severeties = $ruleObjects | Select-Object -ExpandProperty Severity -Unique
2828

29-
Write-GitHubNotice -Message "`e]8;;https://example.com`e\Click here`e]8;;`e\"
29+
$PSStyle.OutputRendering = 'Ansi'
3030

3131
foreach ($ruleObject in $ruleObjects) {
3232
if ($ruleObject.RuleName -in $settings.ExcludeRules) {

0 commit comments

Comments
 (0)