From 5c80316490f304d9308ff5559e11f7e16a6b8fdb Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 31 Oct 2022 17:47:14 -0700 Subject: [PATCH] Updating LightScript.ezformat.ps1 --- LightScript.ezformat.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LightScript.ezformat.ps1 b/LightScript.ezformat.ps1 index 6a4ed62..c293457 100644 --- a/LightScript.ezformat.ps1 +++ b/LightScript.ezformat.ps1 @@ -1,4 +1,4 @@ -#requires -Module EZOut +#requires -Module EZOut # Install-Module EZOut or https://github.com/StartAutomating/EZOut $myFile = $MyInvocation.MyCommand.ScriptBlock.File $myModuleName = 'LightScript' @@ -19,6 +19,7 @@ $destinationRoot = $myRoot if ($formatting) { $myFormatFile = Join-Path $destinationRoot "$myModuleName.format.ps1xml" $formatting | Out-FormatData -Module $MyModuleName | Set-Content $myFormatFile -Encoding UTF8 + Get-Item $myFormatFile } $types = @( @@ -33,5 +34,6 @@ $types = @( if ($types) { $myTypesFile = Join-Path $destinationRoot "$myModuleName.types.ps1xml" $types | Out-TypeData | Set-Content $myTypesFile -Encoding UTF8 + Get-Item $myTypesFile } Pop-Location