commitizen / commitizen/cz-cli

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

Đang mở
#674 2 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
17.5k
Fork
566
Merge trung bình
8 giờ 16 phút
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.