(message string, indent bool)
| 357 | } |
| 358 | |
| 359 | func printWarningText(message string, indent bool) { |
| 360 | if isAutoDiscover || isSilent { |
| 361 | log(message) |
| 362 | } else { |
| 363 | color := color.New(color.FgHiYellow) |
| 364 | |
| 365 | if indent { |
| 366 | color.Println(fmt.Sprintf(" |--► %s", message)) |
| 367 | } else { |
| 368 | color.Println(fmt.Sprintf("----► %s", message)) |
| 369 | } |
| 370 | } |
| 371 | } |
| 372 | |
| 373 | func printErrorText(message string, indent bool) { |
| 374 | if isAutoDiscover || isSilent { |
no test coverage detected