-
Notifications
You must be signed in to change notification settings - Fork 394
PSUseProcessBlockForPipelineCommand : The rule is triggered once for each set name parameter present #1473
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
Comments
thanks for the report. That sounds like something we could try to tweak |
@LaurentDardenne If it should only trigger once, then what should the reported |
>> If it should only trigger once, then what should the reported Extent be in the violation? >> At the moment, it points out which parameters are the one that declare pipeline support. And if I am not mistaken the reverse rule is also possible: >> The Param block or function name (if available)? >> Highlighting the whole Param block might look odd in VS-Code due to the squigglies. So for this rule, personally I want to know what is missing, not what triggers it. |
The rule is triggered once for each set name parameter present.
Steps to reproduce
Expected behavior
Actual behavior
Environment data
If I add a process block there are no more warnings.
The text was updated successfully, but these errors were encountered: