1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

revert unwanted changes

This commit is contained in:
shacharPash
2023-01-19 19:21:05 +02:00
parent bf272742e4
commit 3511995cf7
2 changed files with 1 additions and 13 deletions

View File

@@ -745,15 +745,3 @@ attachCommands({
executor: RedisClient.prototype.commandsExecutor executor: RedisClient.prototype.commandsExecutor
}); });
(RedisClient.prototype as any).Multi = RedisClientMultiCommand; (RedisClient.prototype as any).Multi = RedisClientMultiCommand;
const client = RedisClient.create();
const a = client.scanIterator(
client.commandOptions({returnBuffers: true})
)
const b = client.scanIterator(
client.commandOptions({returnBuffers: false})
)
const c = client.scanIterator()

View File

@@ -52,7 +52,7 @@ const DOCKER_FODLER_PATH = path.join(__dirname, '../docker');
async function spawnRedisServerDocker({ image, version }: RedisServerDockerConfig, serverArguments: Array<string>): Promise<RedisServerDocker> { async function spawnRedisServerDocker({ image, version }: RedisServerDockerConfig, serverArguments: Array<string>): Promise<RedisServerDocker> {
const port = (await portIterator.next()).value, const port = (await portIterator.next()).value,
{ stdout, stderr } = await execAsync( { stdout, stderr } = await execAsync(
`docker run -d -p ${port}:${port} $(` + 'docker run -d --network host $(' +
`docker build ${DOCKER_FODLER_PATH} -q ` + `docker build ${DOCKER_FODLER_PATH} -q ` +
`--build-arg IMAGE=${image}:${version} ` + `--build-arg IMAGE=${image}:${version} ` +
`--build-arg REDIS_ARGUMENTS="--save '' --port ${port.toString()} ${serverArguments.join(' ')}"` + `--build-arg REDIS_ARGUMENTS="--save '' --port ${port.toString()} ${serverArguments.join(' ')}"` +