mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
fix global leak
This commit is contained in:
1 parent
712c74fc7a
commit
da96e07bbe
1 file changed
+1
@@ -121,6 +121,7 @@
|
||||
// Modules
|
||||
|
||||
var debugLevel = parseInt(process.env['NODE_DEBUG'], 16);
|
||||
var debug;
|
||||
if (debugLevel & 1) {
|
||||
debug = function(x) { console.error(x); };
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user