lgaticaq/hubot-cne

View on GitHub

Showing 1 of 3 total issues

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

module.exports = robot => {
  const getFuelTypes = res =>
    res.send(`\`\`\`${cne.fuelTypes.join(', ')}\`\`\``)

  const getCommunes = res => res.send(`\`\`\`${cne.communes.join(', ')}\`\`\``)
Severity: Minor
Found in src/script.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language