-
Notifications
You must be signed in to change notification settings - Fork 10
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
ternary not supported #7
Comments
As far as I know there is no ternary operator in powershell |
Thanks @ZeArioch to point me the documentation : https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_if?view=powershell-7.4#using-the-ternary-operator-syntax The example you provide is not supported by Powershell, only ternary operator is allowed following a parenthesis expression... Ok I will try to fix this issue. Thanks @L2jLiga ! |
Sorry, I totally forgot to provide link to the documentation 😅
That's actually weird because I've checked provided example in powershell 7.4.4 on Windows 11 in Windows Terminal:
|
Hello, I've noticed that parser unable to work with ternary expression, could you fix this please?
input:
output:
The text was updated successfully, but these errors were encountered: