lgaticaq/hubot-hesidohackeado

View on GitHub
src/script.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

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

    There are no issues that match your filters.

    Category
    Status