Merge pull request #6 from dokie/master

Added var keyword to allow Mocha not to complain about global scope
This commit is contained in:
Trent Mick 2012-02-24 12:17:24 -08:00
commit 4a0b396592

View file

@ -282,7 +282,7 @@ function Logger(options, _childOptions, _childSimple) {
s = objCopy(s); s = objCopy(s);
// Implicit 'type' from other args. // Implicit 'type' from other args.
type = s.type; var type = s.type;
if (!s.type) { if (!s.type) {
if (s.stream) { if (s.stream) {
s.type = "stream"; s.type = "stream";