Closed carceneaux closed 1 year ago
I think this is actually an error with the PSScriptAnalyzer rule with the [ref]
attribute. We could just skip this test (where applicable) rather than fixing the PSScriptAnalyzer module version?
Yep, agreed. I'll make the necessary changes to my PR.
A couple months ago, the latest version of the PSSCriptAnalyzer was released. In it, a new rule - AvoidMultipleTypeAttributes - was included that is generating an error:
https://ci.appveyor.com/project/iainbrighton/pscribo/builds/45596594