From 2bb755d7ea9786f5c26994b9d22892535316e138 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Tue, 23 Jan 2018 15:34:40 -0700 Subject: [PATCH] Scaffold: Normalize code formatting --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 9d0b16d..706b9d7 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ var levels = [ 'error' ]; -function getLogger(namespace){ +function getLogger(namespace) { var logger = sparkles(namespace); levels.forEach(function(level){ @@ -21,9 +21,9 @@ function getLogger(namespace){ return logger; } -function makeLogLevel(level){ +function makeLogLevel(level) { return function(msg){ - if(typeof msg === 'string'){ + if (typeof msg === 'string') { msg = format.apply(null, arguments); }