fix(git-hooks): Set TTY if using Docker

This commit is contained in:
Oliver Davies 2023-11-23 08:25:55 +00:00
parent baaf3bf16b
commit fecc65b655
2 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,7 @@
* The `pre-push` Git hook should use `./run test:commit` instead of `just test-commit` since `just` is no longer used.
* Recursively merge `build.defaults.yaml` into the given configuration.
* Set `TTY` in the `pre-push` Git hook so it can run if using Docker.
### Changed

View file

@ -4,4 +4,8 @@
set -o errexit
{% if isDocker %}
export TTY="-T"
{% endif %}
./run test:commit