commitizen / commitizen/cz-cli
exec < /dev/tty && make an error?
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 17.5k
- Forks
- 566
- Merge moyen
- 8 h 16 min
- PR mergées (30 j)
- 1
Description
``` javascript
module.exports = {
"hooks": {
// "prepare-commit-msg": "echo foooooo", // it works
"prepare-commit-msg": "exec < /dev/tty && echo foooooo",
}
}
```
With the config above in `.huskyrc.js`, I will get an error in console:
```
husky > prepare-commit-msg (node v10.11.0)
The system cannot find the path specified.
husky > prepare-commit-msg hook failed (cannot be bypassed with --no-verify due to Git specs)
```
What's the cause?
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.