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

Allow Invoke-Formatter to be pipable #1761

Open
AnderssonPeter opened this issue Jan 17, 2022 · 0 comments
Open

Allow Invoke-Formatter to be pipable #1761

AnderssonPeter opened this issue Jan 17, 2022 · 0 comments

Comments

@AnderssonPeter
Copy link

AnderssonPeter commented Jan 17, 2022

Summary of the new feature

A clear and concise description of what the problem is that the new feature would solve.
Hi I have some powershell code in a variable, it would be usefull if I could run $code | Invoke-Formatter, this does not seem to work instead I have to run Invoke-Formatter $code.

What is the latest version of PSScriptAnalyzer at the point of writing
I am using 1.20.0 of PSScriptAnalyzer on Windows 10 using pwsh 7.1

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

No branches or pull requests

2 participants