Skip to content

x/tools/cmd/deadcode: exit with non-zero exit code on findings #64713

Closed
@toaster

Description

@toaster

Currently, deadcode always exits with an exit code of zero, regardless of whether it has found dead code or not.

For integration in automatic linting, it would be nice to return a non-zero exit code on any findings instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions