Skip to content

Commit fa75d46

Browse files
#1199: Fix eslint-consistent-return error
1 parent 522e136 commit fa75d46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/lib/pseudopattern_hunter.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function(
7171
) {
7272
return objValue.concat(srcValue);
7373
}
74+
// Lodash will only check for "undefined" and eslint needs a consistent
75+
// return so do not remove
76+
return undefined;
7477
}
7578
);
7679

0 commit comments

Comments
 (0)