liatrio/gratibot

View on GitHub
service/redeem.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function redeemSelector has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function redeemSelector(gratibotRewards) {
  let options = [];
  for (let i = 0; i < gratibotRewards.length; i++) {
    const item = {
      name: `${gratibotRewards[i].name}`,
Severity: Minor
Found in service/redeem.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status