You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
WIP
This commit is contained in:
@@ -10,7 +10,7 @@ export default {
|
||||
) {
|
||||
const args: Array<RedisArgument> = ['CONFIG', 'SET'];
|
||||
|
||||
if (typeof parameterOrConfig === 'string' || Buffer.isBuffer(parameterOrConfig)) {
|
||||
if (typeof parameterOrConfig === 'string' || parameterOrConfig instanceof Buffer) {
|
||||
args.push(parameterOrConfig, value!);
|
||||
} else {
|
||||
for (const [key, value] of Object.entries(parameterOrConfig)) {
|
||||
|
Reference in New Issue
Block a user