1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/lib/debug.js
Ruben Bridgewater b2613b2270 test fixup
2017-05-06 08:16:19 +02:00

12 lines
160 B
JavaScript

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