Skip to content

Commit

Permalink
#1199: Fix eslint-consistent-return error
Browse files Browse the repository at this point in the history
  • Loading branch information
JosefBredereck committed May 4, 2020
1 parent 522e136 commit fa75d46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/lib/pseudopattern_hunter.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function(
) {
return objValue.concat(srcValue);
}
// Lodash will only check for "undefined" and eslint needs a consistent
// return so do not remove
return undefined;
}
);

Expand Down

0 comments on commit fa75d46

Please sign in to comment.