diff --git a/error.go b/error.go index 5d1320b..1c30587 100644 --- a/error.go +++ b/error.go @@ -11,5 +11,4 @@ func Error(err error) { pterm.Error.Println(err) os.Exit(1) } - return } diff --git a/main.go b/main.go index 8e91f11..c47b796 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ import ( func main() { // Set Welcome Header - pterm.DefaultHeader.WithBackgroundStyle(pterm.NewStyle(pterm.BgCyan)).WithTextStyle(pterm.NewStyle(pterm.FgCyan)).Println("Welcome to Checkdigit Calculator") + pterm.DefaultHeader.WithBackgroundStyle(pterm.NewStyle(pterm.BgCyan)).WithTextStyle(pterm.NewStyle(pterm.FgBlack)).Println("Welcome to Checkdigit Calculator") // Check what directory the commandline is on when the program is launched. directory, err := os.Getwd()