NodeRedis/node-redis

View on GitHub
packages/client/lib/commands/EVALSHA_RO.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Command } from '../RESP/types';
import EVAL, { parseEvalArguments } from './EVAL';

export default {
  IS_READ_ONLY: true,
  parseCommand(...args: Parameters<typeof parseEvalArguments>) {
    args[0].push('EVALSHA_RO');
    parseEvalArguments(...args);
  },
  transformReply: EVAL.transformReply
} as const satisfies Command;