Skip to content

Commit

Permalink
fix: rename lodash findWhere to find
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya authored May 25, 2018
1 parent 054fc30 commit c32c7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function findBranch(branches, name) {
});
return (function discreteBranchFn(name, branch, branches) {
if (branch.name !== name) {
var discreteBranch = _.findWhere(branches, {name: name});
var discreteBranch = _.find(branches, {name: name});
if (discreteBranch) branch = discreteBranch;
}
return branch;
Expand Down

0 comments on commit c32c7db

Please sign in to comment.