You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fix nan
This commit is contained in:
@@ -42,6 +42,7 @@ export const transformDoubleReply = {
|
||||
return -Infinity;
|
||||
|
||||
case 'nan':
|
||||
return NaN;
|
||||
|
||||
default:
|
||||
return Number(reply);
|
||||
|
Reference in New Issue
Block a user