Added var to avoid Mocha complaining whilst BDD testing using bunyan
parent
a834151a31
commit
a70d235bbf
|
@ -282,7 +282,7 @@ function Logger(options, _childOptions, _childSimple) {
|
|||
s = objCopy(s);
|
||||
|
||||
// Implicit 'type' from other args.
|
||||
type = s.type;
|
||||
var type = s.type;
|
||||
if (!s.type) {
|
||||
if (s.stream) {
|
||||
s.type = "stream";
|
||||
|
|
Loading…
Reference in New Issue