Repository navigation
Jameswtruher/travisdaily2 #2842
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,8 @@ | |
| # (when calling get-help -online) might not matched the one in the csv file. | ||
|
|
||
| BeforeAll { | ||
| $SavedProgressPreference = $ProgressPreference | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is a Pester issues, but this pattern can result in the preference not being set back to the original setting. What should we do about this:
Example Code:Example hitting ctl-c during it:
Example of full run
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll file an issue with the Pester, this isn't likely to happen in a run (as there's no one to press CRL-C) - This problem is general in pester over all. |
||
| $ProgressPreference = "SilentlyContinue" | ||
|
|
||
| # Enable the test hook | ||
| [system.management.automation.internal.internaltesthooks]::SetTestHook('BypassOnlineHelpRetrieval', $true) | ||
|
|
@@ -24,6 +26,7 @@ | |
|
|
||
| # Disable the test hook | ||
| [system.management.automation.internal.internaltesthooks]::SetTestHook('BypassOnlineHelpRetrieval', $false) | ||
| $ProgressPreference = $SavedProgressPreference | ||
| } | ||
|
|
||
| foreach ($filePath in @("$PSScriptRoot\assets\HelpURI\V2Cmdlets.csv", "$PSScriptRoot\assets\HelpURI\V3Cmdlets.csv")) | ||
|
|
||
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.
In the future, please avoid making formatting changes in the same PR as code change per the Coding Conventions.