Showing 1 of 1 total issue
Function register
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports.register = function (server, options, next) {
const settings = Hoek.applyToDefaults(defaults, options);
const statsdClient = options.statsdClient || new StatsdClient(settings);
const normalizePath = (path) => {