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

UseCorrectCasing: Do not use CommandInfoCache when CommandInfoParameters property throws due to runspace affinity problem of PowerShell engine #1523

Merged

Conversation

bergmeister
Copy link
Collaborator

@bergmeister bergmeister commented Jun 13, 2020

PR Summary

Fixes #1516 by not using the cache if the sporadic PowerShell bug happens due to the runspace affinity PowerShell/PowerShell#4003

PR Checklist

@bergmeister bergmeister marked this pull request as ready for review June 13, 2020 19:46
@bergmeister bergmeister changed the title UseCorrectCasing: Do not use CommandInfoCache because Parameters property has runspace affinity problems UseCorrectCasing: Do not use CommandInfoCache when CommandInfoParameters property throws due to runspace affinity problem of PowerShell engine Jun 13, 2020
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.

Collection was modified; enumeration operation may not execute when running Invoke-ScriptAnalyzer
2 participants