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 df04152 commit 914fa40Copy full SHA for 914fa40
tools/Gen2Master/MoveFromGeneration2Master.ps1
@@ -64,7 +64,9 @@ Function Move-Generation2Master {
64
$Psd1Version = $Psd1Metadata.ModuleVersion
65
}
66
$Psd1Metadata = Import-LocalizedData -BaseDirectory $SourcePath -FileName "Az.$ModuleName.psd1"
67
- $Psd1Metadata.ModuleVersion = $Psd1Version
+ if ($Null -ne $Psd1Version) {
68
+ $Psd1Metadata.ModuleVersion = $Psd1Version
69
+ }
70
If ($Null -ne $ModuleGuid) {
71
$Psd1Metadata.GUID = $ModuleGuid
72
0 commit comments