Skip to content

Commit 3a5e4cd

Browse files
committed
fix: output json only
1 parent 3dd9e06 commit 3a5e4cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/storage-deals.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ func outputStorageDeals(out io.Writer, deals []market.MinerDeal, verbose bool, i
770770
if err != nil {
771771
return err
772772
}
773-
fmt.Fprintln(out, string(data))
773+
_, err = fmt.Fprintln(out, string(data))
774+
return err
774775
}
775776

776777
w := tabwriter.NewWriter(out, 2, 4, 2, ' ', 0)

0 commit comments

Comments
 (0)