Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
This commit is contained in:
@@ -262,10 +262,8 @@ function run_test() {
|
||||
controller.startSearch("test");
|
||||
return;
|
||||
}
|
||||
else {
|
||||
do_check_neq(search1._previousResult, null);
|
||||
do_check_neq(search2._previousResult, null);
|
||||
}
|
||||
do_check_neq(search1._previousResult, null);
|
||||
do_check_neq(search2._previousResult, null);
|
||||
|
||||
// Unregister searches
|
||||
unregisterAutoCompleteSearch(search1);
|
||||
|
||||
Reference in New Issue
Block a user