Skip to content

Commit

Permalink
fix: Generating .commands.types.ps1xml ( Fixes #238, re #236 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating committed Jul 7, 2024
1 parent 6737e81 commit e87a9ed
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 @@ -91,7 +91,7 @@ if ($types) {
$MyModuleIsLoaded = Get-Module $MyModuleName
if ($MyModuleIsLoaded) {
$myCommandTypesFilePath = Join-Path $destinationRoot "$myModuleName.commands.types.ps1xml"
Import-TypeView -Commands @($MyModuleIsLoaded.ExportedFunctions.Values) | Out-TypeData
Import-TypeView -Commands @($MyModuleIsLoaded.ExportedFunctions.Values) | Out-TypeData -OutputPath $myCommandTypesFilePath
}
Pop-Location
'@
Expand Down

0 comments on commit e87a9ed

Please sign in to comment.