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

Get-ScriptAnalyzerRule should declare OutputType #1019

Closed
SeeminglyScience opened this issue Jun 8, 2018 · 1 comment · Fixed by #1020
Closed

Get-ScriptAnalyzerRule should declare OutputType #1019

SeeminglyScience opened this issue Jun 8, 2018 · 1 comment · Fixed by #1020
Milestone

Comments

@SeeminglyScience
Copy link
Collaborator

Summary of the new feature

Get-ScriptAnalyzerRule should declare OutputType. If only just so Get-ScriptAnalyzerRule | % comm<tab> works :)

Proposed technical implementation details (optional)

Add [OutputType(typeof(Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.RuleInfo))] to Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand

What is the latest version of PSScriptAnalyzer at the point of writing

1.17.1

@bergmeister
Copy link
Collaborator

bergmeister commented Jun 8, 2018

That's a good idea, thanks.

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

Successfully merging a pull request may close this issue.

2 participants