Files
Star-wars-card-game/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js
2026-01-28 00:55:06 +03:00

13 lines
351 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformArguments = void 0;
function transformArguments(code, options) {
const args = ['FUNCTION', 'LOAD'];
if (options?.REPLACE) {
args.push('REPLACE');
}
args.push(code);
return args;
}
exports.transformArguments = transformArguments;