| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
CodeFactor issue is by-design |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good! Minor non-blocking comments only.
Nicely done! 😊
Sorry, something went wrong.
| try { | ||
| 1 / 0 | ||
| } | ||
| catch { | ||
| } |
There was a problem hiding this comment.
I know it doesn't really matter, but is there a reason you didn't just use Write-Error for this purpose? 😄
Sorry, something went wrong.
There was a problem hiding this comment.
Didn't consider that and this was the first thing I thought of. At least now it's consistent within the test script :)
Although I also learned later that you can just write to $Error anyways.
Sorry, something went wrong.
…-Error.cs Co-Authored-By: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com>
|
🎉v7.0.0-rc.2 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Get-Error currently modifies the original $Error object specifically the pstypenames. Fix is to use an overload when constructing the PSObject to copy it.
PR Context
Fix #11122
PR Checklist