Browse files

[fix] fix query method.

  • Loading branch information...
1 parent dd0b1d0 commit e5d4bed50ef998ef3245a055b9c29592bb0a3edd @chjj chjj committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/winston-redis.js
View
2 lib/winston-redis.js
@@ -152,7 +152,7 @@ Redis.prototype.query = function (options, callback) {
return log;
}).filter(Boolean);
- if (options.order === 'desc') {
+ if (options.order !== 'desc') {
results = results.reverse();
}

0 comments on commit e5d4bed

Please sign in to comment.