Skip to content

--top 0 prints an empty Top offenders section #18

Description

@royalpinto007

Problem

--top 0 passes numeric validation, then the report prints a Top offenders header followed by zero rows.

Where

src/report.js (header pushed unconditionally).

Acceptance

Add a failing test first asserting textReport with top: 0 omits the header (or states nothing to show). Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions