Browse Source

Fixed code styling

pull/33/head
NGPixel 8 years ago
parent
commit
aa507565c4
4 changed files with 1 additions and 6 deletions
  1. 2
      client/js/components/alerts.js
  2. 2
      libs/local.js
  3. 2
      libs/search-index/siUtil.js
  4. 1
      libs/uploads.js

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)
}
}
}

2
libs/local.js

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

2
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()) {

1
libs/uploads.js

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

Loading…
Cancel
Save