Permalink
Browse files

[fix] fix Logger.query when formatting query objects.

  • Loading branch information...
1 parent bb2b6d5 commit 8da081a3c32fc380eb4ec1a0cc3a4e5e3a2e4312 @chjj chjj committed May 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/winston/logger.js
View
@@ -228,7 +228,9 @@ Logger.prototype.query = function (options, callback) {
}
var self = this,
+ options = options || {},
results = {},
+ query = common.clone(options.query) || {},
transports;
//

0 comments on commit 8da081a

Please sign in to comment.