Skip to content

Commit 36fb85b

Browse files
committed
*: clean up color log
Signed-off-by: Gyuho Lee <[email protected]>
1 parent c3b1c57 commit 36fb85b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ec2/ec2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func New(cfg *ec2config.Config) (*Tester, error) {
8484
co, cerr := terminal.IsColor()
8585
if isColor {
8686
lg.Info("output in color", zap.String("output", co), zap.Error(cerr))
87-
colorstring.Printf("[light_green]HELLO COLOR\n")
87+
colorstring.Printf("\n\n[light_green]HELLO COLOR\n\n")
8888
} else {
8989
lg.Warn("output in no color", zap.String("output", co), zap.Error(cerr))
9090
isColor = false

eks/eks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func New(cfg *eksconfig.Config) (ts *Tester, err error) {
151151
co, cerr := terminal.IsColor()
152152
if isColor {
153153
lg.Info("output in color", zap.String("output", co), zap.Error(cerr))
154-
colorstring.Printf("[light_green]HELLO COLOR\n")
154+
colorstring.Printf("\n\n[light_green]HELLO COLOR\n\n")
155155
} else {
156156
lg.Warn("output in no color", zap.String("output", co), zap.Error(cerr))
157157
isColor = false

0 commit comments

Comments
 (0)