commitizen / commitizen/cz-cli

editor appears after running the interactive

Open
#839 3 comments 14 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.5k
Forks
566
Avg merge
8h 16m
Merged PRs (30d)
1

Description

I'm using a husky hook and I'm having problems.

my file prepare-commit-msg in the husky folder looks like this:
```
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && npx cz --hook
```

Contributor guide

Open the contributing guide

Research direction

Start with the prepare-commit-msg Husky hook shown in the issue and reproduce the behavior by running the interactive command through that hook. Compare the resulting editor behavior with a normal commit flow; done means the reported unexpected editor no longer appears while the interactive prompt still runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.