Running eslint is effectively useless nowdays because of the
overwhelming number of warnings returned.
This patch fixes the existing "no-unneeded-ternary" errors.
I've decided to only fix those errors here to keep the patch small, and
not destroy any chance of success by needing to rebase every 5 minutes.
Other fixes will be incoming.
Reviewed: https:/ /review. openstack. org/346270 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=e75978352a3 1d623efd6cef587 7ad413969b0e0c
Committed: https:/
Submitter: Jenkins
Branch: master
commit e75978352a31d62 3efd6cef5877ad4 13969b0e0c
Author: woodm1979 <email address hidden>
Date: Fri Jul 22 17:02:41 2016 -0600
No more no-unneeded-ternary eslint errors
Running eslint is effectively useless nowdays because of the
overwhelming number of warnings returned.
This patch fixes the existing "no-unneeded- ternary" errors.
I've decided to only fix those errors here to keep the patch small, and
not destroy any chance of success by needing to rebase every 5 minutes.
Other fixes will be incoming.
Change-Id: I0d6d104560dc3b 6cc10cc3ff00e45 230ce5fa836
Partial-Bug: #1554824