Skip to content

Commit

Permalink
fix typo (#13987)
Browse files Browse the repository at this point in the history
  • Loading branch information
isra-fel authored Jan 21, 2021
1 parent 7adee56 commit cea4e1c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ protected override void StopProcessing()

public override void ExecuteCmdlet()
{
Guid subscrptionIdGuid;
Guid subscriptionIdGuid;
string subscriptionName = null;
string subscriptionId = null;
if (MyInvocation.BoundParameters.ContainsKey(nameof(Subscription)))
{
if (Guid.TryParse(Subscription, out subscrptionIdGuid))
if (Guid.TryParse(Subscription, out subscriptionIdGuid))
{
subscriptionId = Subscription;
}
Expand Down Expand Up @@ -397,12 +397,12 @@ public override void ExecuteCmdlet()
InitializeProfileProvider();
}

if(!AzureSession.Instance.TryGetComponent(nameof(CommonUtilities), out CommonUtilities commonUtitilies))
if(!AzureSession.Instance.TryGetComponent(nameof(CommonUtilities), out CommonUtilities commonUtilities))
{
commonUtitilies = new CommonUtilities();
AzureSession.Instance.RegisterComponent(nameof(CommonUtilities), () => commonUtitilies);
commonUtilities = new CommonUtilities();
AzureSession.Instance.RegisterComponent(nameof(CommonUtilities), () => commonUtilities);
}
if(!commonUtitilies.IsDesktopSession() && IsUsingInteractiveAuthentication())
if(!commonUtilities.IsDesktopSession() && IsUsingInteractiveAuthentication())
{
WriteWarning(Resources.InteractiveAuthNotSupported);
return;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Accounts/Authentication/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,6 @@
<value>Password is missing and no cache found for the current user.</value>
</data>
<data name="FailedToMigrateAdal2Msal" xml:space="preserve">
<value>INITIALZATION: Failed to migrate ADAL token to MSAL token with error : {0}</value>
<value>INITIALIZATION: Failed to migrate ADAL token to MSAL token with error : {0}</value>
</data>
</root>

0 comments on commit cea4e1c

Please sign in to comment.