Remove debug logs

This commit is contained in:
David Dworken 2022-11-12 16:08:39 -08:00
parent 5e7589cc33
commit e6fc09cc5d
No known key found for this signature in database

View File

@ -528,18 +528,15 @@ func ImportHistory(ctx *context.Context, shouldReadStdin bool) (int, error) {
if err != nil {
return 0, fmt.Errorf("failed to parse bash history: %v", err)
}
hctx.GetLogger().Printf("DDWORKENDEBUG: bashEntries=%#v", historyEntries)
extraEntries, err := parseZshHistory(homedir)
if err != nil {
return 0, fmt.Errorf("failed to parse zsh history: %v", err)
}
hctx.GetLogger().Printf("DDWORKENDEBUG: zshEntries=%#v", extraEntries)
historyEntries = append(historyEntries, extraEntries...)
extraEntries, err = parseFishHistory(homedir)
if err != nil {
return 0, fmt.Errorf("failed to parse fish history: %v", err)
}
hctx.GetLogger().Printf("DDWORKENDEBUG: fishEntries=%#v", extraEntries)
historyEntries = append(historyEntries, extraEntries...)
if shouldReadStdin {
extraEntries, err = readStdin()