Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New PSScriptAnalyzer rule generates error #123

Closed
carceneaux opened this issue Dec 7, 2022 · 2 comments · Fixed by #125
Closed

New PSScriptAnalyzer rule generates error #123

carceneaux opened this issue Dec 7, 2022 · 2 comments · Fixed by #125

Comments

@carceneaux
Copy link
Contributor

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
Copy link
Owner

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants