Showing 2 of 2 total issues
Function request
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function request (options, callback) {
var file = __filename;
var msg = 'http.request requires valid http request options';
var req; // http request defined below
Function register
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.register = function (server, options, next) {
OPTIONS = options; // should we check the options have been set?
server.route([
{
method: 'GET', // ping