Skip to content

Fork doesn't seem to run git pre-commit hooks #996

@denizdogan

Description

@denizdogan

For some reason Fork doesn't seem to run git pre-commit hooks but only on one specific local repository of mine. Another repostitory works fine.

The content of .git/hooks/pre-commit is:

#!/bin/sh
# husky

# Created by Husky v4.2.5 (https://github.com/typicode/husky#readme)
#   At: 4/11/2020, 4:43:26 PM
#   From: /Users/deniz/Code/elm/node_modules/husky (https://github.com/typicode/husky#readme)

. "$(dirname "$0")/husky.sh"

The content of husky.sh is pretty long and largely uninteresting. The file has been generated by the husky npm package.

Is there any way to debug this in Fork? The hooks are properly executed in the CLI and in PyCharm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions