-
Notifications
You must be signed in to change notification settings - Fork 191
New-GitHubRepository: Exception When Specifying the WhatIf Parameter #197
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
Comments
Thanks for the report, @X-Guardian. Will look into it today. As an aside, I really like (and appreciate) the format of your bug reports, and I'd like to standardize on something close to it for a bug reporting template. Can you provide/verify the commands you're running for each section so that I can put the directions in the template? I believe you're doing something like: Operating System
PowerShell Version
Module Version
|
Hi @HowardWolosky, I used a variation of the DscCommunity issue template which also has comment blocks to help people fill in the template. There is also a good Pull Request Template complete with a task list. No easy way of getting good OS detail cross-platform yet. Loads of people have been asking for To get the module details, I would suggest adding the |
With regard to the |
WhatIf support has now been simiplified in all API's that eventually call into `Invoke-GHRestMethod`. There's now a single check at the top of that function which checks if it should continue or not. If it shouldn't, it early returns in order to avoid any code that might access uninitialized content from outside of the ShouldProcess blocks later on. Resolves microsoft#197
WhatIf support has now been simiplified in all API's that eventually call into `Invoke-GHRestMethod`. There's now a single check at the top of that function which checks if it should continue or not. If it shouldn't, it early returns in order to avoid any code that might access uninitialized content from outside of the ShouldProcess blocks later on. Resolves #197
Issue Details
When calling the
New-GitHubRepository
function and passing theWhatIf
standard parameter, the following output and exception is returned:Code to reproduce the issue
Operating System
PowerShell Version
Module Version
The text was updated successfully, but these errors were encountered: