Added var to avoid Mocha complaining whilst BDD testing using bunyan

master
Mike Williams 2012-02-24 17:13:39 +00:00
parent a834151a31
commit a70d235bbf
1 changed files with 1 additions and 1 deletions

View File

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