Added var to avoid Mocha complaining whilst BDD testing using bunyan
This commit is contained in:
parent
a834151a31
commit
a70d235bbf
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue