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
Baselines and other resources support a Synopsis: comment in code. However PSRule generates a non-descriptive exception when attempting to parse a JSON baseline and the comment is not present.
Expected behaviour
Synopsis comments should only be optional. No error should be generated on any resources that don't include the synopsis comment.
Error output
OperationStopped: Object reference not set to an instance of an object.
Module in use and version:
Module: PSRule
Version: 2.3.2
The text was updated successfully, but these errors were encountered:
Description of the issue
Baselines and other resources support a
Synopsis:
comment in code. However PSRule generates a non-descriptive exception when attempting to parse a JSON baseline and the comment is not present.Expected behaviour
Synopsis comments should only be optional. No error should be generated on any resources that don't include the synopsis comment.
Error output
Module in use and version:
The text was updated successfully, but these errors were encountered: