Skip to content

Command line hangs when running npm version [major/minor/patch] #674

@doronsever

Description

@doronsever

I've installed the repo and added this line to my husky:
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",

Everything works fine but when I try to bump my npm version using npm version [major/minor/patch] the command line hangs.

When running it in verbose mode (npm version [major/minor/patch] --verbose) I can see that it handing on this line: npm info git [ 'commit', '-m', '4.0.1' ]

Is there something I'm missing or is it a bug?
When I remove the line from husky it works as expected

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