mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 01:14:03 +00:00
Fix COLOR_FLAG
This commit is contained in:
parent
e51678b21c
commit
bcfa707df7
2 changed files with 3 additions and 3 deletions
4
t
4
t
|
|
@ -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
2
test
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue