dwyl/hapi-auth-github

View on GitHub

Showing 2 of 2 total issues

Function request has 31 lines of code (exceeds 25 allowed). Consider refactoring.
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

Severity: Minor
Found in lib/http_request.js - About 1 hr to fix

    Function register has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    exports.register = function (server, options, next) {
      OPTIONS = options; // should we check the options have been set?
      server.route([
        {
          method: 'GET', // ping
    Severity: Minor
    Found in lib/index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language