Skip to content

Commit

Permalink
Add check type information to check banner (console output)
Browse files Browse the repository at this point in the history
  • Loading branch information
itm4n committed Jan 6, 2025
1 parent 60935dd commit bace8b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions info/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Add multithreading to root folder permissions check.
- Update check result output (and include execution time).
- Add check type information to check banner (console output).

## 2025-01-04

Expand Down
1 change: 1 addition & 0 deletions src/check/Main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ function Write-CheckBanner {
$Result += "$($HeavyDownAndRight)$("$HeavyHorizontal" * 10)$($HeavyDownAndHorizontal)$("$HeavyHorizontal" * 51)$($HeavyDownAndLeft)`n"
$Result += "$($HeavyVertical) CATEGORY $($HeavyVertical) $($Check.Category)$(' ' * (49 - $Check.Category.Length)) $($HeavyVertical)`n"
$Result += "$($HeavyVertical) NAME $($HeavyVertical) $($Check.DisplayName)$(' ' * (49 - $Check.DisplayName.Length)) $($HeavyVertical)`n"
$Result += "$($HeavyVertical) TYPE $($HeavyVertical) $($Check.Type)$(' ' * (49 - $Check.Type.Length)) $($HeavyVertical)`n"
$Result += "$($HeavyVerticalAndRight)$("$HeavyHorizontal" * 10)$($HeavyUpAndHorizontal)$("$HeavyHorizontal" * 51)$($HeavyVerticalAndLeft)`n"
Split-Description -Description $Check.Description | ForEach-Object {
$Result += "$($HeavyVertical) $($_)$(' '*(60 - ([String] $_).Length)) $($HeavyVertical)`n"
Expand Down

0 comments on commit bace8b4

Please sign in to comment.