Skip to content

Conversation

HowardWolosky
Copy link
Contributor

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

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
@HowardWolosky HowardWolosky added the bug This relates to a bug in the existing module. label Jun 1, 2020
@HowardWolosky
Copy link
Contributor Author

cc: @X-Guardian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This relates to a bug in the existing module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New-GitHubRepository: Exception When Specifying the WhatIf Parameter

1 participant