iainbrighton / PScribo

PowerShell documentation framework
MIT License
230 stars 35 forks source link

New PSScriptAnalyzer rule generates error #123

Closed carceneaux closed 1 year ago

carceneaux commented 1 year ago

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

CleanShot 2022-12-07 at 08 35 35

iainbrighton commented 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?

carceneaux commented 1 year ago

Yep, agreed. I'll make the necessary changes to my PR.