You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fixed MIGRATE function when key is array (#2184)
* fix: 2163 push empty string as arg * fix: updated migrate test with keys array
This commit is contained in:
@@ -19,7 +19,7 @@ export function transformArguments(
|
||||
isKeyArray = Array.isArray(key);
|
||||
|
||||
if (isKeyArray) {
|
||||
args.push('""');
|
||||
args.push('');
|
||||
} else {
|
||||
args.push(key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user