lib/http_request.js
Function request
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function request(options, callback) {
// check http request options are set https://github.com/dwyl/esta/issues/79
if(!options || !options.host || !options.port || !options.path){
var msg = "ESTA requires valid http request options. please use lib/options"
throw "ERROR: " + __filename + ":16 \n" + msg;