Skip to content

Commit

Permalink
Don't trim table output based on number of columns
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Sep 23, 2024
1 parent 0d09015 commit 65d92e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PwshSpectreConsole/public/formatting/Format-SpectreTable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ function Format-SpectreTable {
}
if ($FormatTableParams.Keys.Count -gt 0) {
Write-Debug "Using Format-Table with parameters: $($FormatTableParams.Keys -join ', ')"
$collector = $collector | Format-Table @FormatTableParams
$collector = $collector | Format-Table @FormatTableParams *
} else {
$collector = $collector | Format-Table
$collector = $collector | Format-Table *
}
if (-Not $collector.shapeInfo) {
# scalar array, no header
Expand Down

0 comments on commit 65d92e4

Please sign in to comment.