You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
fix(json): remove debug console.logs (#2970)
This commit is contained in:
committed by
GitHub
parent
27537b0ab7
commit
065eb5e914
@@ -2,7 +2,6 @@ import { isNullReply } from "@redis/client/dist/lib/commands/generic-transformer
|
||||
import { BlobStringReply, NullReply, UnwrapReply } from "@redis/client/dist/lib/RESP/types";
|
||||
|
||||
export function transformRedisJsonNullReply(json: NullReply | BlobStringReply): NullReply | RedisJSON {
|
||||
console.log('transformRedisJsonNullReply', json)
|
||||
return isNullReply(json) ? json : transformRedisJsonReply(json);
|
||||
}
|
||||
|
||||
@@ -17,6 +16,5 @@ export function transformRedisJsonArgument(json: RedisJSON): string {
|
||||
|
||||
export function transformRedisJsonReply(json: BlobStringReply): RedisJSON {
|
||||
const res = JSON.parse((json as unknown as UnwrapReply<typeof json>).toString());
|
||||
console.log('transformRedisJsonReply', json, res)
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user