Showing 2 of 4 total issues
Function populate
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function populate (target, options) { options = Object.assign({}, options); if (!options.service) { throw new Error('You need to provide a service');
Function exports
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function () { const app = this; app.use('/classify', new Classifier());