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 a4f284f commit 3eef8a8Copy full SHA for 3eef8a8
tools/Gen2Master/MoveFromGeneration2Master.ps1
@@ -105,6 +105,9 @@ Function Move-Generation2Master {
105
If ($Psd1Metadata.FunctionsToExport -Contains "*") {
106
$Psd1Metadata.FunctionsToExport = ($Psd1Metadata.FunctionsToExport | Where-Object { $_ -ne "*" })
107
}
108
+ If ($Psd1Metadata.AliasesToExport.Length -ne 1) {
109
+ $Psd1Metadata.AliasesToExport = @($Psd1Metadata.AliasesToExport | Where-Object { $_ -ne "*" })
110
+ }
111
Update-ModuleManifest -Path $SourcePsd1Path @Psd1Metadata
112
Copy-Item -Path $SourcePsd1Path -Destination $DestPsd1Path
113
#EndRegion
0 commit comments