Skip to content

Commit

Permalink
Write-EZFormatFile - Adding 'Types' to Import-FormatView (Fixes #158)
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating committed Aug 20, 2023
1 parent 1f7d21e commit c7bd49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/Write-EZFormatFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Push-Location $myRoot
$formatting = @(
# Add your own Write-FormatView here,
# or put them in a Formatting or Views directory
foreach ($potentialDirectory in 'Formatting','Views') {
foreach ($potentialDirectory in 'Formatting','Views','Types') {
Join-Path $myRoot $potentialDirectory |
Get-ChildItem -ea ignore |
Import-FormatView -FilePath {$_.Fullname}
Expand Down

0 comments on commit c7bd49a

Please sign in to comment.