-
Notifications
You must be signed in to change notification settings - Fork 279
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
multiple comparisons possible? {% if config.extra.a and (config.extra.b or config.extra.c) %} #743
Comments
What's the error? It should work |
Thanks for the reply @Keats Unless I have a mistake here, it treats the entire comparison as What I am attempting to do is always require If it helps I can setup a test case repo, just let me know. |
It's doing |
so does that mean I would rewrite it like this?
Edit: yep so far that seems to work, thanks for the help! |
yep, |
multiple comparisons possible? {% if config.extra.a and (config.extra.b or config.extra.c) %}
I ask because this particular if statement is part of an if elif elif elif elif else endif
I am trying to parse options in a way that makes less configuration work for the end user.
There is probably a workaround I could do for this, but I have ran into this a couple times, but when I try to make a combination of comparisons it does not seem to work.
In this particular instance I was trying to do this:
What I did instead was this:
The text was updated successfully, but these errors were encountered: