commitizen / commitizen/cz-cli

git commit not returning to prompt

Offen
#809 9 Kommentare 14 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
17.5k
Forks
566
Ø Merge
8 Std. 16 Min.
Gemergte PRs (30 T.)
1

Beschreibung

After running `git commit` and going through the interactive prompts, commitizen doesn't return to prompt. Instead it puts me into vim and am forced to exist with `:qa`.

I'm using the husky method:
```
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
}
}
```

My environment:
OSX: 10.15.7
Yarn 1.22.10
Node 12.20.1
NPM 6.14.10
commitizen: 4.2.3
cz-conventional-changelog: 3.3.0

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.