Fix test for using colours in stdout
This commit is contained in:
parent
1d22614029
commit
24141cdcb9
@ -5,7 +5,7 @@ set -ue
|
||||
CYAN='\033[01;36m'
|
||||
NC='\033[00m'
|
||||
|
||||
if [ -t 1 ]; then
|
||||
if [ ! -t 1 ]; then
|
||||
CYAN=''
|
||||
NC=''
|
||||
fi
|
||||
|
@ -8,7 +8,7 @@ YELLOW='\033[01;33m'
|
||||
CYAN='\033[01;36m'
|
||||
NC='\033[00m'
|
||||
|
||||
if [ -t 1 ]; then
|
||||
if [ ! -t 1 ]; then
|
||||
RED=''
|
||||
GREEN=''
|
||||
YELLOW=''
|
||||
|
@ -5,7 +5,7 @@ set -e
|
||||
CYAN='\033[01;36m'
|
||||
NC='\033[00m'
|
||||
|
||||
if [ -t 1 ]; then
|
||||
if [ ! -t 1 ]; then
|
||||
CYAN=''
|
||||
NC=''
|
||||
fi
|
||||
|
Reference in New Issue
Block a user