Skip to content

Commit 893afc8

Browse files
authored
Merge branch 'master' into artifacts-folder
2 parents d897559 + 6b46d6b commit 893afc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Authentication.Abstractions/Extensions/AzureSubscriptionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static class AzureSubscriptionExtensions
2828
/// <returns>The globally unique id, if the id is set, otherwise, the enpty Guid</returns>
2929
public static Guid GetId(this IAzureSubscription subscription)
3030
{
31-
return subscription.Id == null? Guid.Empty: new Guid(subscription.Id);
31+
return subscription?.Id == null ? Guid.Empty : new Guid(subscription.Id);
3232
}
3333

3434
/// <summary>

0 commit comments

Comments
 (0)