Skip to content

Husky.Net pre commit hook fails #1636

@seahurricanelemonade

Description

@seahurricanelemonade

Environments:

  • CSharpier Version: 1.0.2
  • Running CSharpier via: Husky.Net
  • Operating System: Windows 10
  • .csharpierrc Settings: N/A
  • .editorconfig Settings: N/A

Steps to reproduce:

Follow set up as described here: https://csharpier.com/docs/Pre-commit

Expected behavior:

CSharpier format is run pre commit as part of Husky

Actual behavior:

Attempting to commit something results in the following error via Husky: Failed to start a process with file path 'csharpier'. Target file or working directory doesn't exist, or the provided credentials are invalid.

This used to work for my project but is broken now as I attempt to upgrade to major version 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions