Skip to content

Commit

Permalink
fix: rest parameter syntax missing
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cloud committed Jul 6, 2016
1 parent 223b17f commit c8965a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Expand Up @@ -61,7 +61,7 @@ function assignPredict(older, newer) {
return isEmpty(newer) ? older : newer
}

function mergeWithValid(sources) {
function mergeWithValid(...sources) {
sources.push(mergeCustomizer)
return _.mergeWith.apply(_, sources)
}
Expand Down

0 comments on commit c8965a7

Please sign in to comment.