From aa507565c49dca5690264e07c9eb74507860dc0d Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sat, 4 Mar 2017 11:45:25 -0500 Subject: [PATCH] Fixed code styling --- client/js/components/alerts.js | 2 -- libs/local.js | 2 -- libs/search-index/siUtil.js | 2 +- libs/uploads.js | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/client/js/components/alerts.js b/client/js/components/alerts.js index 2538ef71..8f0b4e7f 100644 --- a/client/js/components/alerts.js +++ b/client/js/components/alerts.js @@ -6,7 +6,6 @@ * Alerts */ class Alerts { // eslint-disable-line no-unused-vars - /** * Constructor * @@ -107,5 +106,4 @@ class Alerts { // eslint-disable-line no-unused-vars }, 500) } } - } diff --git a/libs/local.js b/libs/local.js index 31c7e32c..5263d2b4 100644 --- a/libs/local.js +++ b/libs/local.js @@ -122,8 +122,6 @@ module.exports = { } winston.info('[SERVER.Local] Data and Repository directories are OK.') - - return }, /** diff --git a/libs/search-index/siUtil.js b/libs/search-index/siUtil.js index 0bbbb361..bad264a7 100644 --- a/libs/search-index/siUtil.js +++ b/libs/search-index/siUtil.js @@ -22,7 +22,7 @@ module.exports = function (siOptions) { siUtil.close = function (callback) { siOptions.indexes.close(function (err) { while (!siOptions.indexes.isClosed()) { - //log not always working here- investigate + // log not always working here- investigate if (siOptions.log) siOptions.log.info('closing...') } if (siOptions.indexes.isClosed()) { diff --git a/libs/uploads.js b/libs/uploads.js index a3525757..57986eda 100644 --- a/libs/uploads.js +++ b/libs/uploads.js @@ -101,7 +101,6 @@ module.exports = { if (_.isArray(arrFiles) || _.isPlainObject(arrFiles)) { // this._uploadsDb.Files.insert(arrFiles); } - return }, /**