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

Make Invoke-Formatter cleanup its state to avoid knock on effect on Invoke-ScriptAnalyzer #1121

Merged

Conversation

bergmeister
Copy link
Collaborator

PR Summary

Fixes #1116
Make Invoke-Formatter cleanup its state in the same way how Invoke-ScriptAnalzyer does it to avoid knock on effect on Invoke-ScriptAnalyzer when Invoke-Formatter is being called before it

PR Checklist

…iptAnalyzer does to avoid knock on effect on Invoke-ScriptAnalyzer when Invoke-Formatter is being called
@bergmeister bergmeister merged commit c62b8b2 into PowerShell:development Jan 12, 2019
bergmeister added a commit to bergmeister/PSScriptAnalyzer that referenced this pull request Mar 5, 2019
…iptAnalyzer does to avoid knock on effect on Invoke-ScriptAnalyzer when Invoke-Formatter is being called (PowerShell#1121)
bergmeister added a commit to bergmeister/PSScriptAnalyzer that referenced this pull request Mar 22, 2019
…iptAnalyzer does to avoid knock on effect on Invoke-ScriptAnalyzer when Invoke-Formatter is being called (PowerShell#1121)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoke-Formatter has knock on effect on subsequent call to Invoke-ScriptAnalyzer
2 participants