You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a custom rule like function Measure-MycustomThing {} and that function itself does not have comment based help, you will get an error that says "Invoke-ScriptAnalyzer : Cannot perform runtime binding on a null reference." If help will always be required for custom rules, then there should be better error handling or warnings when you try to run the custom rules.
If you have a custom rule like function Measure-MycustomThing {} and that function itself does not have comment based help, you will get an error that says "Invoke-ScriptAnalyzer : Cannot perform runtime binding on a null reference." If help will always be required for custom rules, then there should be better error handling or warnings when you try to run the custom rules.

CustomRule.zip
The text was updated successfully, but these errors were encountered: