mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
Fix debug flag in timers.js
This commit is contained in:
parent
c10caca34c
commit
1a7830a92a
@ -3,7 +3,7 @@ var L = require('_linklist');
|
||||
var assert = require('assert').ok;
|
||||
|
||||
var debug;
|
||||
if (process.env.NODE_debug && /timer/.test(process.env.NODE_debug)) {
|
||||
if (process.env.NODE_DEBUG && /timer/.test(process.env.NODE_DEBUG)) {
|
||||
debug = function() { require('util').error.apply(this, arguments); };
|
||||
} else {
|
||||
debug = function() { };
|
||||
|
Loading…
Reference in New Issue
Block a user