Remove debug print

This commit is contained in:
David Dworken 2022-11-12 18:46:14 -08:00
parent 0abfefa80a
commit 86adcb64f6
No known key found for this signature in database

View File

@ -206,11 +206,7 @@ func isBashWeirdness(cmd string) bool {
// Bash has this weird behavior where the it has entries like `#1664342754` in the // Bash has this weird behavior where the it has entries like `#1664342754` in the
// history file. We want to skip these. // history file. We want to skip these.
firstCommandBugRegex := regexp.MustCompile(`^#\d+\s+$`) firstCommandBugRegex := regexp.MustCompile(`^#\d+\s+$`)
result := firstCommandBugRegex.MatchString(cmd) return firstCommandBugRegex.MatchString(cmd)
if result {
fmt.Println("BASH: " + cmd)
}
return result
} }
func buildRegexFromTimeFormat(timeFormat string) string { func buildRegexFromTimeFormat(timeFormat string) string {