Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

All conditional tests for a value should use != empty #121

Open
andylolz opened this issue May 2, 2015 · 0 comments
Open

All conditional tests for a value should use != empty #121

andylolz opened this issue May 2, 2015 · 0 comments
Labels

Comments

@andylolz
Copy link
Collaborator

andylolz commented May 2, 2015

In ruby, an empty string evaluates to true. So instead of:

{% if val %}

…we should be using:

{% if val != empty %}
@andylolz andylolz added the bug label May 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant