removed debug log

This commit is contained in:
Clément GOUIN
2019-06-19 14:36:16 +02:00
parent d7fb67401b
commit d6a493dac6
-2
View File
@@ -3,14 +3,12 @@ const fs = require('fs');
const merge = function (ref, src) { const merge = function (ref, src) {
if (typeof ref !== typeof src) { if (typeof ref !== typeof src) {
console.log(ref, src, ref);
return ref; return ref;
} else if (typeof ref === 'object') { } else if (typeof ref === 'object') {
const out = {}; const out = {};
Object.keys(ref).forEach(key => out[key] = merge(ref[key], src[key])); Object.keys(ref).forEach(key => out[key] = merge(ref[key], src[key]));
return out; return out;
} else { } else {
console.log(ref, src, src);
return src; return src;
} }
}; };