1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:04:03 +00:00

Fix COLOR_FLAG

This commit is contained in:
Samuel Štancl 2025-06-02 03:10:52 +02:00
parent e51678b21c
commit bcfa707df7
2 changed files with 3 additions and 3 deletions

4
t
View file

@ -1,9 +1,9 @@
#!/bin/bash
if [[ "${CLAUDECODE}" != "1" ]]; then
COLOR_FLAG="--color=always"
COLOR_FLAG="--colors=always"
else
COLOR_FLAG=""
COLOR_FLAG="--colors=never"
fi
docker compose exec -e COLUMNS=$(tput cols) -T test vendor/bin/pest ${COLOR_FLAG} --no-coverage --filter "$@"

2
test
View file

@ -3,7 +3,7 @@
if [[ "${CLAUDECODE}" != "1" ]]; then
COLOR_FLAG="--colors=always"
else
COLOR_FLAG=""
COLOR_FLAG="--colors=never"
fi
# --columns doesn't seem to work at the moment, so we're setting it using an environment variable