FarmBot/Farmbot-Web-App

View on GitHub
frontend/farm_events/calendar/selectors.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function joinFarmEventsToExecutable has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function joinFarmEventsToExecutable(
  input: ResourceIndex): FarmEventWithExecutable[] {
  const farmEvents: TaggedFarmEvent[] = selectAllFarmEvents(input);
  const sequenceById = indexSequenceById(input);
  const regimenById = indexRegimenById(input);
Severity: Minor
Found in frontend/farm_events/calendar/selectors.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status