Skip to content

Commit e87a9ed

Browse files
fix: Generating .commands.types.ps1xml ( Fixes #238, re #236 )
1 parent 6737e81 commit e87a9ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/Write-EZFormatFile.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if ($types) {
9191
$MyModuleIsLoaded = Get-Module $MyModuleName
9292
if ($MyModuleIsLoaded) {
9393
$myCommandTypesFilePath = Join-Path $destinationRoot "$myModuleName.commands.types.ps1xml"
94-
Import-TypeView -Commands @($MyModuleIsLoaded.ExportedFunctions.Values) | Out-TypeData
94+
Import-TypeView -Commands @($MyModuleIsLoaded.ExportedFunctions.Values) | Out-TypeData -OutputPath $myCommandTypesFilePath
9595
}
9696
Pop-Location
9797
'@

0 commit comments

Comments
 (0)