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.
2 parents 067b696 + 6c71bda commit 508682bCopy full SHA for 508682b
src/ServiceManagement/Profile/Commands.Profile/Subscription/SelectAzureSubscription.cs
@@ -140,6 +140,7 @@ private string GetAccount()
140
}
141
142
AzureSubscription subscription = ProfileClient.Profile.Subscriptions.Values
143
+ .Where(s => !string.IsNullOrWhiteSpace(s.Name))
144
.FirstOrDefault(s => s.Name.Equals(SubscriptionName, StringComparison.InvariantCultureIgnoreCase) ||
145
s.Id.ToString().Equals(SubscriptionId, StringComparison.InvariantCultureIgnoreCase));
146
0 commit comments