Skip to content

Commit

Permalink
feat: support fcall and fcall_ro
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Mar 6, 2022
1 parent 5acfec8 commit 8c5cc88
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 213 deletions.
4 changes: 4 additions & 0 deletions lib/index.ts
Expand Up @@ -72,6 +72,10 @@ export function getKeyIndexes(
// fall through
case "eval":
case "evalsha":
case "eval_ro":
case "evalsha_ro":
case "fcall":
case "fcall_ro":
const keyStop = Number(args[1]) + 2;
for (let i = 2; i < keyStop; i++) {
keys.push(i);
Expand Down

0 comments on commit 8c5cc88

Please sign in to comment.