commitizen / commitizen/cz-cli

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

オープン
#674 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
17.5k
フォーク
566
平均マージ
8時間 16分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。