Fixed code styling
This commit is contained in:
		@@ -6,7 +6,6 @@
 | 
				
			|||||||
 * Alerts
 | 
					 * Alerts
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class Alerts { // eslint-disable-line no-unused-vars
 | 
					class Alerts { // eslint-disable-line no-unused-vars
 | 
				
			||||||
 | 
					 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * Constructor
 | 
					   * Constructor
 | 
				
			||||||
   *
 | 
					   *
 | 
				
			||||||
@@ -107,5 +106,4 @@ class Alerts { // eslint-disable-line no-unused-vars
 | 
				
			|||||||
      }, 500)
 | 
					      }, 500)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -122,8 +122,6 @@ module.exports = {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    winston.info('[SERVER.Local] Data and Repository directories are OK.')
 | 
					    winston.info('[SERVER.Local] Data and Repository directories are OK.')
 | 
				
			||||||
 | 
					 | 
				
			||||||
    return
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@ module.exports = function (siOptions) {
 | 
				
			|||||||
  siUtil.close = function (callback) {
 | 
					  siUtil.close = function (callback) {
 | 
				
			||||||
    siOptions.indexes.close(function (err) {
 | 
					    siOptions.indexes.close(function (err) {
 | 
				
			||||||
      while (!siOptions.indexes.isClosed()) {
 | 
					      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.log) siOptions.log.info('closing...')
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (siOptions.indexes.isClosed()) {
 | 
					      if (siOptions.indexes.isClosed()) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -101,7 +101,6 @@ module.exports = {
 | 
				
			|||||||
    if (_.isArray(arrFiles) || _.isPlainObject(arrFiles)) {
 | 
					    if (_.isArray(arrFiles) || _.isPlainObject(arrFiles)) {
 | 
				
			||||||
      // this._uploadsDb.Files.insert(arrFiles);
 | 
					      // this._uploadsDb.Files.insert(arrFiles);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user