Skip to content

Commit bfff3bb

Browse files
committed
Bending under Codacy
1 parent 48444a1 commit bfff3bb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/populate.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
// populates missing values
2-
module.exports = populate;
3-
4-
function populate(dst, src) {
2+
module.exports = function(dst, src) {
53
for (var prop in src) {
64
if (src.hasOwnProperty(prop) && !dst[prop]) {
75
dst[prop] = src[prop];
86
}
97
}
108
return dst;
11-
}
9+
};

0 commit comments

Comments
 (0)