We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef24a9 commit 3514a32Copy full SHA for 3514a32
lib/utils.js
@@ -36,17 +36,6 @@ function replyToStrings(reply) {
36
return reply;
37
}
38
39
-function toArray(args) {
40
- var len = args.length,
41
- arr = new Array(len), i;
42
-
43
- for (i = 0; i < len; i += 1) {
44
- arr[i] = args[i];
45
- }
46
47
- return arr;
48
-}
49
50
function print (err, reply) {
51
if (err) {
52
console.log('Error: ' + err);
@@ -60,7 +49,6 @@ var redisErrCode = /^([A-Z]+)\s+(.+)$/;
60
module.exports = {
61
reply_to_strings: replyToStrings,
62
reply_to_object: replyToObject,
63
- to_array: toArray,
64
print: print,
65
53
err_code: redisErrCode
66
54
};
0 commit comments