From f68cd65a9aa595427f63ba44bfbace20365fd1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 23 Oct 2014 16:02:12 +0200 Subject: [PATCH] amend --- unleash-server/lib/featureDb.js | 2 +- unleash-server/test/eventDbMock.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unleash-server/lib/featureDb.js b/unleash-server/lib/featureDb.js index e3e5551d13..5336f3ec0e 100644 --- a/unleash-server/lib/featureDb.js +++ b/unleash-server/lib/featureDb.js @@ -50,7 +50,7 @@ eventStore.on(eventType.featureUpdated, function (event) { } }); } else { - logger.error("Could not handle feature-update event", event); + logger.error('Could not handle feature-update event', event); } } diff --git a/unleash-server/test/eventDbMock.js b/unleash-server/test/eventDbMock.js index 1f66edbbad..f617ed7c95 100644 --- a/unleash-server/test/eventDbMock.js +++ b/unleash-server/test/eventDbMock.js @@ -1,6 +1,6 @@ var Promise = require('bluebird'); -function storeEvent(event) { +function storeEvent() { return new Promise(function (resolve) { resolve(); });