Browse Source

process.mixin: Return instead of continue in forEach

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
93c0c24a4e
  1. 2
      src/node.js

2
src/node.js

@ -136,7 +136,7 @@ process.mixin = function() {
else {
// Prevent never-ending loop
if (target === d.value) {
continue;
return;
}
if (deep && d.value && typeof d.value === "object") {

Loading…
Cancel
Save