<commit_before>package tferror

import (
  "errors"
  "fmt"

  "github.com/fatih/color"
)

var (
    // Errors
    info    *color.Color
    good    *color.Color
    warn    *color.Color
    fatal   *color.Color
    err     error
)

func init()  {
    info  = color.New(color.FgBlue, color.Bold)
    good  = color.New(color.FgGreen, color.Bold)
    warn  = color.New(color.FgYellow, color.Bold)
    fatal = color.New(color.FgRed, color.Bold)
}

func Run(level int, message string)  {

    err = errors.New(message)
    if err != nil {
        switch level {
          case 0:
              info.Println(err)
          case 1:
              good.Println(err)
          case 2:
              warn.Println(err)
          default:
              fmt.Println(err)
        }
    }
}

func Panic(err error)  {

    if err != nil {
        panic(err)
    }
}<commit_msg>~ Fix color prompt<commit_after>package tferror

import (
  "errors"
  "fmt"

  "github.com/fatih/color"
)

var (
    // Errors
    info    *color.Color
    good    *color.Color
    warn    *color.Color
    fatal   *color.Color
    err     error
)

func init()  {
    info  = color.New(color.FgBlue, color.Bold)
    good  = color.New(color.FgGreen, color.Bold)
    warn  = color.New(color.FgYellow, color.Bold)
    fatal = color.New(color.FgRed, color.Bold)
}

func Run(level int, message string)  {

    err = errors.New(message)
    if err != nil {
        switch level {
          case 0:
              info.Println(err)
          case 1:
              good.Println(err)
          case 2:
              warn.Println(err)
          case 3:
              fatal.Println(err)
          default:
              fmt.Println(err)
        }
    }
}

func Panic(err error)  {

    if err != nil {
        panic(err)
    }
}
{'fraction_non_alphanumeric': 0.1143018018018018, 'fraction_numerical': 0.003941441441441441, 'mean_word_length': 1.597953216374269, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3984858', 'n_tokens_mistral': 641, 'n_tokens_neox': 622, 'n_words': 130}