You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
remove double 'util' and 'Queue' from requires
ex: require('./lib/util').util;
This commit is contained in:
committed by
Matt Ranney
parent
336030a33d
commit
c83c285213
@@ -1,7 +1,7 @@
|
||||
// Support for very old versions of node. At some point, we should abandon this.
|
||||
var minor = process.versions.node.split('.')[1];
|
||||
if (minor > 2) {
|
||||
exports.util = require("util");
|
||||
module.exports = require("util");
|
||||
} else {
|
||||
exports.util = require("sys");
|
||||
module.exports = require("sys");
|
||||
}
|
||||
|
Reference in New Issue
Block a user