commitizen / commitizen/cz-cli

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

Ouverte
#674 2 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
17.5k
Forks
566
Merge moyen
8 h 16 min
PR mergées (30 j)
1

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.