From 93c0c24a4ed4794572913eef3a92ed1e030c8ca9 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 9 Mar 2010 10:54:26 -0800 Subject: [PATCH] process.mixin: Return instead of continue in forEach --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index 0398ba261f..4946d2efa6 100644 --- a/src/node.js +++ b/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") {