Browse Source

Fix debug flag in timers.js

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
1a7830a92a
  1. 2
      lib/timers.js

2
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() { };

Loading…
Cancel
Save