1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/lib/debug.js
Ruben Bridgewater f1a7bcd735 chore: use standard
2017-05-06 07:06:52 +02:00

12 lines
158 B
JavaScript

'use strict'
var index = require('../')
function debug () {
if (index.debugMode) {
console.error.apply(null, arguments)
}
}
module.exports = debug