Added var to avoid Mocha complaining whilst BDD testing using bunyan

This commit is contained in:
Mike Williams 2012-02-24 17:13:39 +00:00
parent a834151a31
commit a70d235bbf

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";