Skip to content

Commit

Permalink
Remove unused function from utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Bridgewater committed Dec 31, 2015
1 parent 294bd96 commit 7e759f2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ function replyToStrings(reply) {
return reply;
}

function toArray(args) {
var len = args.length,
arr = new Array(len), i;

for (i = 0; i < len; i += 1) {
arr[i] = args[i];
}

return arr;
}

function print (err, reply) {
if (err) {
console.log('Error: ' + err);
Expand All @@ -60,7 +49,6 @@ var redisErrCode = /^([A-Z]+)\s+(.+)$/;
module.exports = {
reply_to_strings: replyToStrings,
reply_to_object: replyToObject,
to_array: toArray,
print: print,
err_code: redisErrCode
};

0 comments on commit 7e759f2

Please sign in to comment.