mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
process.mixin: Return instead of continue in forEach
This commit is contained in:
1 parent
c69d3f4a35
commit
93c0c24a4e
1 file changed
+1
-1
+1
-1
@@ -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") {
|
||||
|
||||
Reference in new issue
Block a user