You've already forked node-redis
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user