diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-02-04 09:00:21 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-02-04 09:00:21 -0800 |
commit | 1a7830a92a251ae7e895945deea94cba60c54f12 (patch) | |
tree | 8ec2f0768d3035f4f8c01151a9bb26d2aa47999c | |
parent | c10caca34cb0b11740e013e09c38d125591d4de3 (diff) | |
download | nodejs-1a7830a92a251ae7e895945deea94cba60c54f12.tar.gz nodejs-1a7830a92a251ae7e895945deea94cba60c54f12.tar.bz2 nodejs-1a7830a92a251ae7e895945deea94cba60c54f12.zip |
Fix debug flag in timers.js
-rw-r--r-- | lib/timers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timers.js b/lib/timers.js index d79f64a8b..06229ed97 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -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() { }; |