Eslint throws "consistent-return" warnings
Bug #1626059 reported by
Julia Aranovich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Julia Aranovich |
Bug Description
npm run lint (npm run eslint) command returns many warnings related to Eslint "consistent-return" rule:
.../fuel-
32:19 warning Expected to return a value at the end of this function consistent-return
45:19 warning Expected to return a value at the end of this function consistent-return
They should be fixed.
Changed in fuel: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/373362 /git.openstack. org/cgit/ openstack/ fuel-ui/ commit/ ?id=dc54e2ec96d cf558859595cc45 490535e897c39f
Committed: https:/
Submitter: Jenkins
Branch: master
commit dc54e2ec96dcf55 8859595cc454905 35e897c39f
Author: Julia Aranovich <email address hidden>
Date: Tue Sep 20 15:09:19 2016 +0300
Fix consistent-return warnings
Closes-Bug: #1626059
Change-Id: I442f70e7550be4 fdd8549095b01f2 762fd8bb841