Skip to content

Commit 41194c3

Browse files
authored
Merge branch 'master' into tenant-domain-name
2 parents 47627c3 + dbaf847 commit 41194c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ScenarioTest.ResourceManager/Common.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ function Get-Location
603603
}
604604
}
605605
$locations = $resourceTypes.Locations
606-
if($UseCanonical)
606+
if($UseCanonical -and $locations -ne $null)
607607
{
608608
$locations = $locations | ForEach-Object { Normalize-Location $_ }
609609
}

0 commit comments

Comments
 (0)