You've already forked node-redis
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:
11
lib/debug.js
Normal file
11
lib/debug.js
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var index = require('../');
|
||||
|
||||
function debug (msg) {
|
||||
if (index.debug_mode) {
|
||||
console.error(msg);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = debug;
|
Reference in New Issue
Block a user