Skip to content

Commit

Permalink
fix error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Dein committed Dec 20, 2024
1 parent d948681 commit f93b7be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions output/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import (

func Print(writer io.Writer, conf *cfg.Config, attr *app.DbAttr, entry *app.DbEntry) error {
if attr.File != "" {
WriteFile(writer, conf, attr, entry)

return WriteFile(writer, conf, attr, entry)
}

isatty := term.IsTerminal(int(os.Stdout.Fd()))
Expand Down

0 comments on commit f93b7be

Please sign in to comment.