Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daxian-dbw authored and colombod committed Sep 23, 2020
1 parent f512bfa commit c500663
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ internal async Task<bool> ConnectAndInitializeAzShell(int terminalWidth, int ter
var userSettings = await ReadCloudShellUserSettings().ConfigureAwait(false);
if (userSettings?.properties == null || userSettings.properties.storageProfile == null)
{
Console.WriteLine("It seems you haven't setup your cloud shell account yet. Navigate to https://shell.azure.com to complete account setup.");
Console.Error.WriteLine("It seems you haven't setup your Azure Cloud Shell account yet. Navigate to https://shell.azure.com to complete account setup.");
return false;
}

Expand Down Expand Up @@ -729,7 +729,7 @@ private async Task GetDeviceCode()
throw new HttpRequestException($"Authentication failed: {authResponsePending.error_description}");
}

Thread.Sleep(deviceCode.interval * 1000);
await Task.Delay(deviceCode.interval * 1000);
}
}

Expand Down

0 comments on commit c500663

Please sign in to comment.