fixup
This commit is contained in:
parent
caaff9b7af
commit
67dc7523d5
@ -974,7 +974,10 @@ func listDealsWithJSON(cctx *cli.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
w.Encode(val)
|
||||
err := w.Encode(val)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user