-
Notifications
You must be signed in to change notification settings - Fork 60.2k
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
Incorrect documentation regarding omitting the expression syntax for if conditionals #8700
Comments
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
@JojOatXGME Thanks so much for opening an issue! I'll triage this for the team to take a look 👀 |
Thanks for raising this, @JojOatXGME; I can confirm this behavior as well, but I'll double-check with engineering that the current behavior is intended. |
Confirmed with engineering that it's not necessary 👍. PR opened here: #8786 |
Thanks for fixing the documentation. Good to know that my confusion was not caused by some fundamental misconception on my site. :D |
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
All the sections linked above contain the following snippet:
However, according to my own experience (and a lot of examples I find on the web), the exception (“unless the expression contains any operators”) does not seem to be true. For example, the expression of the following
if
is evaluated.Note that
==
and&&
are both operators. I think it is pretty confusing that a lot of examples on the web omit${{ }}
while the documentation claims that it would not work.The text was updated successfully, but these errors were encountered: