Ver Fonte

Fixed code styling

NGPixel há 8 anos atrás
pai
commit
aa507565c4
4 ficheiros alterados com 1 adições e 6 exclusões
  1. 0 2
      client/js/components/alerts.js
  2. 0 2
      libs/local.js
  3. 1 1
      libs/search-index/siUtil.js
  4. 0 1
      libs/uploads.js

+ 0 - 2
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)
     }
   }
-
 }

+ 0 - 2
libs/local.js

@@ -122,8 +122,6 @@ module.exports = {
     }
 
     winston.info('[SERVER.Local] Data and Repository directories are OK.')
-
-    return
   },
 
   /**

+ 1 - 1
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()) {

+ 0 - 1
libs/uploads.js

@@ -101,7 +101,6 @@ module.exports = {
     if (_.isArray(arrFiles) || _.isPlainObject(arrFiles)) {
       // this._uploadsDb.Files.insert(arrFiles);
     }
-    return
   },
 
   /**