You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Move requiring util to a separate file
This commit is contained in:
7
lib/util.js
Normal file
7
lib/util.js
Normal file
@@ -0,0 +1,7 @@
|
||||
if (process.versions.node.match(/^0.3/)) {
|
||||
exports.util = require("util");
|
||||
} else {
|
||||
/* This module is called "sys" in 0.2.x */
|
||||
exports.util = require("sys");
|
||||
}
|
||||
|
Reference in New Issue
Block a user