(message string, indent bool)
| 371 | } |
| 372 | |
| 373 | func printErrorText(message string, indent bool) { |
| 374 | if isAutoDiscover || isSilent { |
| 375 | log(message) |
| 376 | } else { |
| 377 | red := color.New(color.FgHiRed) |
| 378 | if indent { |
| 379 | red.Println(fmt.Sprintf(" |--► %s", message)) |
| 380 | } else { |
| 381 | red.Println(fmt.Sprintf("----► %s", message)) |
| 382 | } |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | func printLn() { |
| 387 | if isAutoDiscover || isSilent { |
no test coverage detected