1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Move multi; commands; createClient code into separate files

This commit is contained in:
Ruben Bridgewater
2016-02-22 19:38:07 +01:00
parent ce80569bfe
commit 614e35ab57
7 changed files with 586 additions and 26 deletions

11
lib/debug.js Normal file
View File

@ -0,0 +1,11 @@
'use strict';
var index = require('../');
function debug (msg) {
if (index.debug_mode) {
console.error(msg);
}
}
module.exports = debug;