Skip to content

pre-commit hook does not work if the solution is in a sub directory #1232

@FrancisGauthier

Description

@FrancisGauthier

i use the following .pre-commit-config.yaml file.

image

The structure of the repository looks like this

  • repo
    • .git
    • src
      • solution.sln
    • .pre-commit-config.yaml

The original repo used to pass solutions from a subdirectory. Looks like it is not possible to pass the solution in an argument with this hook. I get the following error saying that there is no solution found in the directory

image

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions