Skip to content

Commit

Permalink
Merge pull request #153 from danielgtaylor/fix-print-empty
Browse files Browse the repository at this point in the history
fix: print responses without a body
  • Loading branch information
danielgtaylor authored Dec 15, 2022
2 parents 1058fd6 + fca601c commit 0e19b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ func (f *DefaultFormatter) formatAuto(format string, resp Response) ([]byte, err
}

// No body to display.
return nil, nil
return encoded, nil
}

// Format will filter, prettify, colorize and output the data.
Expand Down

0 comments on commit 0e19b3c

Please sign in to comment.