Skip to content

Commit

Permalink
fix: Namespacing .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 cd71dee commit 1975db6
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 -OutputPath $myCommandTypesFilePath
Import-TypeView -Commands @($MyModuleIsLoaded.ExportedFunctions.Values) -Namespace $myModuleName | Out-TypeData -OutputPath $myCommandTypesFilePath
}
Pop-Location
'@
Expand Down

0 comments on commit 1975db6

Please sign in to comment.