-
Notifications
You must be signed in to change notification settings - Fork 4k
Website convenience cmdlets #5585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
var percent = (int)(progress * 100.0); | ||
var r = new[] { "|", "/", "-", "\\" }; | ||
var x = r[DateTime.Now.Second % 4]; | ||
WriteProgressAsync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this implementation may have a bug in progress bar. Here's a fix for it https://github.com/Azure/azure-powershell/pull/5487/files
{ | ||
get | ||
{ | ||
return "To connect your website with a git repository, you must have the git executable installed. Please download and install git from https://git-scm.com/"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be a resource string?
|
||
ConcurrentQueue<ShouldContinuePrompt> _continue = new ConcurrentQueue<ShouldContinuePrompt>(); | ||
|
||
ConcurrentQueue<ProgressRecord> _progress = new ConcurrentQueue<ProgressRecord>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we may have only one queue of actions instead of several data queues.
Description
Checklist
CONTRIBUTING.md
platyPS
module