Skip to content

Commit

Permalink
fix: inproper call of some function
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cloud committed Sep 20, 2016
1 parent f7428fd commit 19678a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util.js
Expand Up @@ -47,7 +47,7 @@ function sortObjectKeys(obj) {
*/
function assignWithValid(...sources) {
sources.push(assignPredict)
return _.assignWith(_, ...sources)
return _.assignWith(...sources)
}

/**
Expand All @@ -63,7 +63,7 @@ function assignPredict(older, newer) {

function mergeWithValid(...sources) {
sources.push(mergeCustomizer)
return _.assignWith(_, ...sources)
return _.assignWith(...sources)
}

function mergeCustomizer(older, newer) {
Expand Down

0 comments on commit 19678a0

Please sign in to comment.