Skip to content

Misleading error message from validation when CODEOWNERS is out of date #155

@nil-parachute

Description

@nil-parachute

It seems like code_ownership delegates to codeowners-rs and displays runtime errors unchanged, so when running codeownership validate --skip-autocorrect with an out-of-date file, the error message is

RuntimeError: 
CODEOWNERS out of date. Run `codeowners generate` to update the CODEOWNERS file

But trying to run that results in command not found: codeowners (unless codeowners-rs is separately installed, maybe?), and the command I need to run to fix it is codeownership validate -- would it be possible to use an error message specific to this Ruby wrapper instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions