mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-16 20:10:59 +01:00
fix error reporting
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user