Skip to content

pre-commit run --all-files fails #6721

@dcampbell24

Description

@dcampbell24

pre-commit run --all-files fails with

- hook id: rust-linting
- exit code: 1

Error writing files: failed to resolve mod `cli`: /home/user/projects/coreutils/src/uu/printf/src/cli.rs does not exist

Editing .pre-commit-config.yaml to set pass_filenames to false for rust-linting makes everything work, but I have no idea if we should do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions