Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 8da081a3c32fc380eb4ec1a0cc3a4e5e3a2e4312 1 parent bb2b6d5
Christopher Jeffrey (JJ) chjj authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/winston/logger.js
2  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;
//
Please sign in to comment.
Something went wrong with that request. Please try again.