| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Many analysis objects here have null Type field value. This leads to premature exiting the method.
There was a problem hiding this comment.
Most of this code was forked from PowerShell's SMA codebase many years ago and not been touched much since. If you've seen an exception coming from this, such a tweak is OK I think and regression risk is small
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Many analysis objects here have null Type field value. Not sure whether this is expected. Probably the Undetermined Type should be used instead of null. Anyway, similar precaution means are used in:
PSScriptAnalyzer/Engine/Helper.cs
Line 1059 in af02e80
Creating test for this problem may be hard as the exception is not always being thrown.
PR Checklist