Skip to content

Commit 746506a

Browse files
Align hashtable assignments for lint
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 78e5f76 commit 746506a

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • .github/actions/Get-PesterCodeCoverage/src

.github/actions/Get-PesterCodeCoverage/src/main.ps1

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,9 @@ $missedPaths = $codeCoverage.CommandsMissed |
171171
ForEach-Object { [int]$_.Line } |
172172
Sort-Object -Unique
173173
[pscustomobject]@{
174-
Path = $_.Name
174+
Path = $_.Name
175175
MissedCommands = [int]$_.Count
176-
MissedLines = if ($lines.Count -eq 0) {
177-
''
178-
} else {
179-
$lines -join ', '
180-
}
176+
MissedLines = if ($lines.Count -eq 0) { '' } else { $lines -join ', ' }
181177
}
182178
}
183179

0 commit comments

Comments
 (0)