Skip to content

Husky global config file is not called if no local hook exists #1632

@simon-abbott

Description

@simon-abbott

I am using the .config/husky/init.sh script to run a set of global hooks that I want applied to every repo, even husky-enabled ones, but the husky script doesn't run the husky/init.sh script if the local script isn't found. Can you please move the existence check to be after the call to init.sh?

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