Skip to content

Commit

Permalink
improved
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaplus1 committed Jun 13, 2016
1 parent e43a591 commit ac66dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function copy(target, customizer) {
const resultValue = copyValue(target);

if (resultValue !== null) {
return copyValue(target);
return resultValue;
}

return copyCollection(target, customizer);
Expand Down

0 comments on commit ac66dbe

Please sign in to comment.