mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-18 19:16:44 +02:00
Remove debug logs
This commit is contained in:
parent
5e7589cc33
commit
e6fc09cc5d
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user