From e96ebfc1fc6bc9bbc3ee49f3b0818020dc5102a0 Mon Sep 17 00:00:00 2001 From: tigerbot Date: Fri, 9 Jun 2017 16:03:12 -0600 Subject: [PATCH] made style worse for consistency --- bin/goldilocks.js | 3 +-- lib/worker.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/goldilocks.js b/bin/goldilocks.js index cd05741..6b72433 100755 --- a/bin/goldilocks.js +++ b/bin/goldilocks.js @@ -228,8 +228,7 @@ function fillConfig(config, args) { function (bound) { config.tcp.bind = bound; return config; - }, - function (failed) { + }, function (failed) { Object.keys(failed).forEach(function (key) { console.log('[error bind]', key, failed[key].code); }); diff --git a/lib/worker.js b/lib/worker.js index ceb3830..5fb9764 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -32,8 +32,8 @@ function create(conf) { config: { save: function (changes) { process.send({ - type: 'com.daplie.goldilocks.config-change', - changes: changes + type: 'com.daplie.goldilocks.config-change' + , changes: changes }); } }