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

doc: add jsdoc comments

This commit is contained in:
Ruben Bridgewater
2017-05-26 12:27:52 +02:00
parent cd8f2d27c1
commit 35dc6d9784
2 changed files with 52 additions and 8 deletions

View File

@@ -2,6 +2,9 @@
const index = require('../')
/**
* @description Print a debug statement if in debug mode
*/
function debug () {
if (index.debugMode) {
console.error.apply(null, arguments)