We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f29095d commit 8e5662fCopy full SHA for 8e5662f
‎scripts/helpers/Build/Build-PSModuleRootModule.ps1
@@ -115,7 +115,7 @@ foreach ($Type in $ExportableClasses) {
115
# Remove type accelerators when the module is removed.
116
$MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = {
117
foreach ($Type in ($ExportableEnums + $ExportableClasses)) {
118
- $TypeAcceleratorsClass::Remove($Type.FullName)
+ $null = $TypeAcceleratorsClass::Remove($Type.FullName)
119
}
120
}.GetNewClosure()
121
#endregion Class exporter
0 commit comments