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

PS7 ternary operator incorrectly identified as cmdlet #1362

Open
SteveL-MSFT opened this issue Oct 31, 2019 · 1 comment
Open

PS7 ternary operator incorrectly identified as cmdlet #1362

SteveL-MSFT opened this issue Oct 31, 2019 · 1 comment

Comments

@SteveL-MSFT
Copy link
Member

https://app.codacy.com/manual/slee/PowerShell/pullRequest?prid=4421303

@rjmholt
Copy link
Contributor

rjmholt commented Nov 5, 2019

This is a partly PowerShell issue; I suspect the script is being analyzed by a PS 6.2 pwsh. Syntactically this is a breaking change, so pwsh 6.2 sees this differently. Until there's way to get upstream parser changes in PSSA, this issue will persist.

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

3 participants