From a70d235bbfff0981bd544cbaede3050bd4fbb450 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Fri, 24 Feb 2012 17:13:39 +0000 Subject: [PATCH] Added var to avoid Mocha complaining whilst BDD testing using bunyan --- lib/bunyan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bunyan.js b/lib/bunyan.js index 3d15820..fb4044b 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -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";