lgaticaq/hubot-hesidohackeado

View on GitHub

Showing 1 of 1 total issue

Function exports has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = robot => {
  const emailPattern = '([\\w.-]+@[\\w.-]+\\.[a-zA-Z.]{2,6})'
  const regex = new RegExp(`hesidohackeado ${emailPattern}`, 'i')
  robot.respond(regex, res => {
    const q = res.match[1]
Severity: Major
Found in src/script.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language