FarmBot/Farmbot-Web-App

View on GitHub
frontend/sequences/step_tiles/tile_assertion/variables_part.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

export const VariablesPart = (props: StepParams<Assertion>) => {
  let sequenceId: number | undefined;
  const { _then } = props.currentStep.args;
  if (_then.kind == "execute") {
    sequenceId = _then.args.sequence_id;
Severity: Minor
Found in frontend/sequences/step_tiles/tile_assertion/variables_part.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status