Closed cderv closed 1 year ago
Using a redirect to suppress all streams
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_redirection?view=powershell-7.2#example-5-suppress-all-write-host-and-information-stream-data
I only did it here because it was clear we don't want any stderr as we are deciding what to do based on error or not.
There is a | Out-Null after that will have the same behavior, but in this case we probably want to report error.
| Out-Null
Fixes #3
Looks good to me. Also update the version to 0.5.3 in the .version file. I will merge it after that. Thanks for the PR.
0.5.3
.version
Using a redirect to suppress all streams
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_redirection?view=powershell-7.2#example-5-suppress-all-write-host-and-information-stream-data
I only did it here because it was clear we don't want any stderr as we are deciding what to do based on error or not.
There is a
| Out-Null
after that will have the same behavior, but in this case we probably want to report error.Fixes #3