Skip to content

Commit eadbb6e

Browse files
authored
Fix an issue causing Az.psm1 not to generate (#12584)
1 parent ff2140b commit eadbb6e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tools/UpdateModules.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Import-Module "$PSScriptRoot\UpdateModules.psm1"
4040
#################################################>
4141

4242

43+
# Constants (Scopes)
44+
$NetCoreScopes = @('NetCore')
45+
$AzureScopes = @('All', 'Latest', 'ServiceManagement', 'AzureStorage')
46+
$StackScopes = @('All', 'Stack')
4347

4448
# Begin
4549
Write-Host "Updating $Scope package (and its dependencies)"

tools/UpdateModules.psm1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
#>
1818
$script:TemplateLocation = "$PSScriptRoot\AzureRM.Example.psm1"
1919

20-
# Scopes
21-
$script:NetCoreScopes = @('NetCore')
22-
$script:AzureScopes = @('All', 'Latest', 'ServiceManagement', 'AzureStorage')
23-
$script:StackScopes = @('All', 'Stack')
24-
2520
# Specialty-Scopes used by cmdlets
2621
$script:AzureRMScopes = @('All', 'Latest')
2722
$script:StorageScopes = @('All', 'Latest', 'AzureStorage')

0 commit comments

Comments
 (0)