Skip to content

Commit d87ad46

Browse files
Update code block language from 'pwsh' to 'powershell' for improved syntax highlighting
1 parent 19a2258 commit d87ad46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/main.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ LogGroup 'Files analyzed' {
141141
$missedForDisplay = $codeCoverage.CommandsMissed | Sort-Object -Property File, Line | ForEach-Object {
142142
$command = (Normalize-IndentationExceptFirst -Code $_.Command)
143143
$command = $command.Replace([Environment]::NewLine, '<br>').Replace(' ', '&nbsp;').Replace('{', '\{').Replace('}', '\}')
144-
$command = '<pre><code class="language-pwsh">{0}</pre></code>' -f $command
144+
$command = '<pre><code class="language-powershell">{0}</pre></code>' -f $command
145145
[PSCustomObject]@{
146146
File = $_.File
147147
Line = $_.Line
@@ -157,7 +157,7 @@ $missedForDisplay = $codeCoverage.CommandsMissed | Sort-Object -Property File, L
157157
$executedForDisplay = $codeCoverage.CommandsExecuted | Sort-Object -Property File, Line | ForEach-Object {
158158
$command = (Normalize-IndentationExceptFirst -Code $_.Command)
159159
$command = $command.Replace([Environment]::NewLine, '<br>').Replace(' ', '&nbsp;').Replace('{', '\{').Replace('}', '\}')
160-
$command = '<pre><code class="language-pwsh">{0}</pre></code>' -f $command
160+
$command = '<pre><code class="language-powershell">{0}</pre></code>' -f $command
161161
[PSCustomObject]@{
162162
File = $_.File
163163
Line = $_.Line

0 commit comments

Comments
 (0)