Skip to content

[FR]: Change exit code when linting requested but no lintable targets provided #1341

Description

@scasagrande

What is the current behavior?

When running aspect lint and providing an explicit list of targets, the process will exit with 1 if no lint-able targets were specified.

Describe the feature

The request here is to change the exit code to 4, matching the behaviour of bazel test when testing is requested but no test targets are specified.

Original slack thread: https://bazelbuild.slack.com/archives/C04281DTLH0/p1784137418806149

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions