Function exports
has 29 lines of code (exceeds 25 allowed). Consider refactoring.
module.exports = function(rut) {
rut = rut.replace('-', '/').replace('.', '').replace(' ', '');
const url = `${URL}/${rut}`;
return request.get(url).then((body, resp) => {