From 86adcb64f63f00e687a7f0168a62cd8a098147e8 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 12 Nov 2022 18:46:14 -0800 Subject: [PATCH] Remove debug print --- client/lib/lib.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/lib/lib.go b/client/lib/lib.go index d81d03b..6fd3019 100644 --- a/client/lib/lib.go +++ b/client/lib/lib.go @@ -206,11 +206,7 @@ func isBashWeirdness(cmd string) bool { // Bash has this weird behavior where the it has entries like `#1664342754` in the // history file. We want to skip these. firstCommandBugRegex := regexp.MustCompile(`^#\d+\s+$`) - result := firstCommandBugRegex.MatchString(cmd) - if result { - fmt.Println("BASH: " + cmd) - } - return result + return firstCommandBugRegex.MatchString(cmd) } func buildRegexFromTimeFormat(timeFormat string) string {